Init commit
This commit is contained in:
@@ -9,3 +9,21 @@ server {
|
||||
include default_proxy.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
include ssl.conf;
|
||||
|
||||
server_name jenkins2.fet.at;
|
||||
set $proxy_host jenkins;
|
||||
set $proxy_port 8080;
|
||||
location / {
|
||||
include proxy.conf;
|
||||
include secure.conf;
|
||||
proxy_set_header "X-Forwarded-Port" "443";
|
||||
proxy_set_header "X-Forwarded-Proto" "https";
|
||||
proxy_set_header "X-Forwarded-Host" "jenkins2.fet.at";
|
||||
more_set_headers "Content-Security-Policy: default-src 'self'; 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 'self'";
|
||||
proxy_pass http://$proxy_host:$proxy_port;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user