41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
server {
|
|
#listen 80;
|
|
listen 15637;
|
|
server_name enshrouded.lefloch.eu;
|
|
#server_name localhost;
|
|
|
|
ssl_certificate /usr/local/etc/letsencrypt/live/lefloch.eu/fullchain.pem;
|
|
ssl_certificate_key /usr/local/etc/letsencrypt/live/lefloch.eu/privkey.pem;
|
|
|
|
ssl_session_cache shared:SSL:1m;
|
|
ssl_session_timeout 5m;
|
|
|
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
|
ssl_prefer_server_ciphers on;
|
|
|
|
#charset koi8-r;
|
|
|
|
#access_log logs/host.access.log main;
|
|
|
|
location / {
|
|
# root /usr/local/www/nginx;
|
|
# index index.html index.htm;
|
|
proxy_pass http://192.168.0.102:15637;
|
|
}
|
|
|
|
# Enforce HTTPS
|
|
#return 301 https://$server_name$request_uri;
|
|
|
|
|
|
#error_page 404 /404.html;
|
|
|
|
# redirect server error pages to the static page /50x.html
|
|
#
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root /usr/local/www/nginx-dist;
|
|
}
|
|
|
|
}
|
|
|