mirror of https://git.envs.net/envs/ops.git
31 lines
622 B
Plaintext
31 lines
622 B
Plaintext
|
### PAD.ENVS.NET - lxc ###
|
||
|
server {
|
||
|
include snippets/listen.conf;
|
||
|
# include snippets/ddos_high.conf;
|
||
|
server_name pad.envs.net;
|
||
|
|
||
|
return 307 https://$host$request_uri;
|
||
|
}
|
||
|
|
||
|
# SSL
|
||
|
server {
|
||
|
include snippets/listen_ssl.conf;
|
||
|
# include snippets/ddos_high.conf;
|
||
|
server_name pad.envs.net;
|
||
|
|
||
|
include snippets/ssl.conf;
|
||
|
include ssl/envs_net_wild.conf;
|
||
|
|
||
|
error_log /var/log/nginx/pad.envs.net-error.log crit;
|
||
|
|
||
|
location / {
|
||
|
include proxy_params;
|
||
|
proxy_ssl_name $http_host;
|
||
|
proxy_ssl_server_name on;
|
||
|
proxy_pass https://pad.envs.net;
|
||
|
|
||
|
proxy_set_header Upgrade $http_upgrade;
|
||
|
proxy_set_header Connection "Upgrade";
|
||
|
}
|
||
|
}
|