forked from linux/WebHosting
app für de angelo initial commit
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name n8n.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name n8n.psi.ch;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/n8n.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/n8n.psi.ch.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://n8n:5678;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user