Skip to content
Snippets Groups Projects
Commit 76a4bbf0 authored by ynerant's avatar ynerant Committed by ynerant
Browse files

[galene] Clean nginx configuration


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent aa011c62
No related branches found
No related tags found
1 merge request!261Galène
---
service_nginx:
service_name: galene
servers:
- ssl: crans.org
default: true
server_name:
- "galene.crans.org"
locations:
- filter: "/"
params:
- "include /etc/nginx/snippets/options-proxypass.conf"
- "proxy_pass http://localhost:8443"
- ssl: crans.org
server_name:
- "neree.crans.org"
root: "/var/www/galene-stream-frontend/static"
locations:
- filter: "~ ^/(ws|public-groups.json)"
params:
- "include /etc/nginx/snippets/options-proxypass.conf"
- "proxy_pass http://localhost:8443"
- filter: "~ ^\\/(?!.*\\.\\.)[^/]+$"
params:
- " add_header Content-Security-Policy \"connect-src ws: wss: 'self'; img-src data: 'self'; media-src blob: 'self'; default-src 'self';\""
- "try_files $uri /galene.html =404"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment