Init Commit
This commit is contained in:
44
conf.d/fet.at/patrickdev2022.conf
Normal file
44
conf.d/fet.at/patrickdev2022.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name patrickdev2022.fet.at;
|
||||
include ssl.conf;
|
||||
include ldap.conf;
|
||||
#changed 22.9.22, andis
|
||||
client_max_body_size 50M;
|
||||
|
||||
|
||||
set $proxy_host patrickDEV2022;
|
||||
set $proxy_port 8107;
|
||||
|
||||
# include default_proxy.conf;
|
||||
location / {
|
||||
include proxy.conf;
|
||||
include secure.conf;
|
||||
proxy_pass http://$proxy_host:$proxy_port;
|
||||
}
|
||||
location /etherpad {
|
||||
include proxy.conf;
|
||||
include secure.conf;
|
||||
proxy_cookie_path ~^/(.+)$ "/$1; SameSite=none";
|
||||
more_set_headers "Content-Security-Policy: default-src 'none'; img-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.fet.at; style-src 'self' 'unsafe-inline' *.fet.at; font-src 'self' 'unsafe-inline' *.fet.at; base-uri 'self'; form-action 'self'; connect-src 'self' 'unsafe-inline' *.fet.at ; frame-ancestors 'none'";
|
||||
proxy_pass http://$proxy_host:$proxy_port;
|
||||
}
|
||||
|
||||
location /admin {
|
||||
include proxy.conf;
|
||||
include secure.conf;
|
||||
proxy_cookie_path ~^/(.+)$ "/$1; SameSite=none";
|
||||
more_set_headers "Content-Security-Policy: default-src 'none'; img-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://fet.at/; style-src 'self' 'unsafe-inline' https://fet.at/; font-src 'self' 'unsafe-inline' https://fet.at/; base-uri 'self'; form-action 'self'; connect-src 'self' 'unsafe-inline' https://fet.at/ ; frame-ancestors 'none'";
|
||||
proxy_pass http://$proxy_host:$proxy_port;
|
||||
}
|
||||
|
||||
location /dev {
|
||||
include proxy.conf;
|
||||
include secure.conf;
|
||||
proxy_cookie_path ~^/(.+)$ "/$1; SameSite=none";
|
||||
more_set_headers "Content-Security-Policy: default-src 'none'; img-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://fet.at/; style-src 'self' 'unsafe-inline' https://fet.at/; font-src 'self' 'unsafe-inline' https://fet.at/; base-uri 'self'; form-action 'self'; connect-src 'self' 'unsafe-inline' https://fet.at/ ; frame-ancestors 'none'";
|
||||
proxy_pass http://$proxy_host:$proxy_port;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user