19 lines
583 B
Plaintext
19 lines
583 B
Plaintext
|
server {
|
||
|
listen 202.61.255.100:443 ssl http2;
|
||
|
listen [2a03:4000:55:d1d::]:443 ssl http2;
|
||
|
server_name znc.lsd.dog;
|
||
|
ssl_certificate /etc/ssl/drugs/fullchain.pem;
|
||
|
ssl_certificate_key /etc/ssl/drugs/private/privkey.pem;
|
||
|
ssl_protocols TLSv1.1 TLSv1.2;
|
||
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||
|
# ssl_session_cache shared:SSL:10m;
|
||
|
ssl_session_timeout 1d;
|
||
|
large_client_header_buffers 4 32k;
|
||
|
location / {
|
||
|
proxy_pass http://[::1]:54658;
|
||
|
proxy_set_header X-Forwarded-Host \$host;
|
||
|
proxy_set_header X-Forwarded-Server \$host;
|
||
|
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
|
||
|
}
|
||
|
}
|