25 lines
No EOL
768 B
Text
25 lines
No EOL
768 B
Text
server {
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
|
|
server_name vernissage.your.tld;
|
|
|
|
access_log /var/log/nginx/access.log;
|
|
error_log /var/log/nginx/error.log;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8080;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_pass_request_headers on;
|
|
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
client_max_body_size 40M;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/vernissage.your.tld/fullchain.pem; # managed by Certbot
|
|
ssl_certificate_key /etc/letsencrypt/live/vernissage.your.tld/privkey.pem; # managed by Certbot
|
|
} |