2020-01-21 12:01:49 +00:00
|
|
|
### PLEROMA.ENVS.NET - lxc ###
|
|
|
|
server {
|
2020-02-27 11:30:21 +00:00
|
|
|
listen 5.199.136.29:80;
|
2020-01-21 12:01:49 +00:00
|
|
|
server_name pleroma.envs.net;
|
|
|
|
|
|
|
|
return 307 https://$host$request_uri;
|
|
|
|
}
|
|
|
|
|
|
|
|
# SSL
|
|
|
|
server {
|
2020-02-27 11:30:21 +00:00
|
|
|
listen 5.199.136.29:443 ssl http2;
|
2020-01-21 12:01:49 +00:00
|
|
|
# include snippets/ddos_mid.conf;
|
|
|
|
server_name pleroma.envs.net;
|
|
|
|
|
|
|
|
include snippets/ssl.conf;
|
|
|
|
include ssl/envs_net_wild.conf;
|
|
|
|
|
|
|
|
error_log /var/log/nginx/pleroma.envs.net-error.log crit;
|
|
|
|
|
2020-03-30 16:40:03 +00:00
|
|
|
client_max_body_size 64M;
|
|
|
|
|
2020-01-21 12:01:49 +00:00
|
|
|
location / {
|
|
|
|
include proxy_params;
|
|
|
|
proxy_ssl_name $http_host;
|
|
|
|
proxy_ssl_server_name on;
|
2020-03-19 21:14:53 +00:00
|
|
|
proxy_http_version 1.1;
|
2020-01-24 10:40:58 +00:00
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "Upgrade";
|
2020-03-19 21:14:53 +00:00
|
|
|
|
|
|
|
proxy_pass https://pleroma.envs.net;
|
2020-01-21 12:01:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-27 10:45:33 +00:00
|
|
|
|
2020-01-21 12:01:49 +00:00
|
|
|
#ALIAS
|
|
|
|
server {
|
2020-01-27 10:45:33 +00:00
|
|
|
include snippets/listen.conf;
|
|
|
|
server_name social.envs.net;
|
2020-01-21 12:01:49 +00:00
|
|
|
|
2020-10-08 18:16:52 +00:00
|
|
|
return 301 https://pleroma.envs.net/;
|
2020-01-21 12:01:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
2020-01-27 10:45:33 +00:00
|
|
|
include snippets/listen_ssl.conf;
|
|
|
|
server_name social.envs.net;
|
|
|
|
|
|
|
|
include snippets/ssl.conf;
|
|
|
|
include ssl/envs_net_wild.conf;
|
|
|
|
include snippets/local_ssl_header.conf;
|
|
|
|
|
2020-10-08 18:16:52 +00:00
|
|
|
return 301 https://pleroma.envs.net/;
|
2020-01-21 12:01:49 +00:00
|
|
|
}
|