Initial Config
This commit is contained in:
45
conf.d/luna.fet.at/patrick.conf
Normal file
45
conf.d/luna.fet.at/patrick.conf
Normal file
@@ -0,0 +1,45 @@
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name patrick.luna.fet.at;
|
||||
include ssl.conf;
|
||||
include ldap.conf;
|
||||
client_max_body_size 1000M;
|
||||
location / {
|
||||
include secure.conf;
|
||||
include proxy.conf;
|
||||
proxy_pass http://lunochod:8001;
|
||||
proxy_set_header Authorization "";
|
||||
proxy_set_header REMOTE_USER $remote_user;
|
||||
#proxy_pass_header content-security-policy; ##pet, 3.1.22
|
||||
}
|
||||
|
||||
location /dev {
|
||||
include proxy.conf;
|
||||
proxy_pass http://lunochod:8001;
|
||||
# include snippets/proxy_header.conf;
|
||||
proxy_set_header Authorization "";
|
||||
proxy_set_header REMOTE_USER $remote_user;
|
||||
}
|
||||
|
||||
location /etherpad {
|
||||
include proxy.conf;
|
||||
proxy_pass http://lunochod:8001;
|
||||
# include snippets/proxy_header.conf;
|
||||
proxy_set_header Authorization "";
|
||||
proxy_set_header REMOTE_USER $remote_user;
|
||||
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'";
|
||||
}
|
||||
|
||||
location /admin {
|
||||
include proxy.conf;
|
||||
proxy_pass http://lunochod:8001;
|
||||
# include snippets/proxy_header.conf;
|
||||
proxy_set_header Authorization "";
|
||||
proxy_set_header REMOTE_USER $remote_user;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
11
conf.d/luna.fet.at/portainer.conf
Normal file
11
conf.d/luna.fet.at/portainer.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
include ssl.conf;
|
||||
|
||||
server_name portainer.luna.fet.at;
|
||||
set $proxy_host luna;
|
||||
set $proxy_port 9000;
|
||||
|
||||
include default_proxy.conf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user