vernissage/nginx_conf_vernissage.txt hinzugefügt
This commit is contained in:
parent
ddb8e45c86
commit
905d2dfaf3
1 changed files with 25 additions and 0 deletions
25
vernissage/nginx_conf_vernissage.txt
Normal file
25
vernissage/nginx_conf_vernissage.txt
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue