bundles/nginx: rename 'proxy' metadata to 'locations', support more generic options, move extras files to metadata
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
a3a228fc2d
commit
b5ab21549d
25 changed files with 164 additions and 144 deletions
|
@ -1,3 +0,0 @@
|
|||
location /static/ {
|
||||
alias /opt/paperless/static/;
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
return 308 https://cybert-media.net$request_uri;
|
|
@ -1,11 +0,0 @@
|
|||
location /.well-known/matrix/client {
|
||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.franzi.business"},"m.identity_server": {"base_url": "https://matrix.org"},"im.vector.riot.jitsi": {"preferredDomain": "meet.ffmuc.net"}}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
return 200 '{"m.server": "matrix.franzi.business:443"}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
location / {
|
||||
return 302 https://twitter.com/daskritzelt/status/1259167444373028864;
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
location / {
|
||||
proxy_pass http://[::1]:22050;
|
||||
proxy_set_header X-Script-Name /;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Remote-User $remote_user;
|
||||
auth_basic "Radicale";
|
||||
auth_basic_user_file /etc/radicale/htpasswd;
|
||||
}
|
||||
|
||||
location /.web/ {
|
||||
proxy_pass http://[::1]:22050;
|
||||
proxy_set_header X-Script-Name /;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
|
@ -1,13 +1 @@
|
|||
add_header Content-Security-Policy "frame-ancestors 'self' chat.franzi.business chat.sophies-kitchen.eu";
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.franzi.business"},"m.identity_server": {"base_url": "https://matrix.org"},"im.vector.riot.jitsi": {"preferredDomain": "meet.ffmuc.net"}}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
return 200 '{"m.server": "matrix.franzi.business:443"}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
add_header Content-Security-Policy "frame-ancestors 'self' chat.franzi.business";
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
location /.well-known/matrix/client {
|
||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.franzi.business"},"m.identity_server": {"base_url": "https://matrix.org"},"im.vector.riot.jitsi": {"preferredDomain": "meet.ffmuc.net"}}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
return 200 '{"m.server": "matrix.franzi.business:443"}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
location / {
|
||||
return 301 https://franzi.business$request_uri;
|
||||
}
|
||||
|
||||
location /.well-known/openpgpkey/ {
|
||||
alias /var/www/kunsmann.eu/.well-known/openpgpkey/;
|
||||
default_type application/octet-stream;
|
||||
add_header Access-Control-Allow-Origin * always;
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
location /.well-known/matrix/client {
|
||||
return 200 '{"m.homeserver": {"base_url": "https://matrix.franzi.business"},"m.identity_server": {"base_url": "https://matrix.org"},"im.vector.riot.jitsi": {"preferredDomain": "meet.ffmuc.net"}}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
return 200 '{"m.server": "matrix.franzi.business:443"}';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location /_matrix {
|
||||
proxy_pass http://[::1]:20080;
|
||||
|
||||
proxy_set_header Host "franzi.business";
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
location /_matrix/media {
|
||||
proxy_pass http://localhost:20090;
|
||||
|
||||
client_max_body_size 500M;
|
||||
|
||||
proxy_read_timeout 600s;
|
||||
proxy_set_header Host "franzi.business";
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
location /static {
|
||||
root /opt/travelynx/public;
|
||||
}
|
||||
|
||||
location /service-worker.js {
|
||||
root /opt/travelynx/public;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue