This commit is contained in:
parent
916f55fde0
commit
1648634933
21 changed files with 2 additions and 3 deletions
|
@ -27,7 +27,7 @@ http {
|
|||
proxy_read_timeout 600;
|
||||
proxy_send_timeout 600;
|
||||
resolver host.containers.internal;
|
||||
include /etc/nginx-sites/*;
|
||||
include /etc/nginx/sites/*;
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
|
|
@ -6,7 +6,7 @@ server {
|
|||
include snippets/local-only.conf;
|
||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'" always;
|
||||
location / {
|
||||
set $upstream gaming-vm.server.home.arpa;
|
||||
set $upstream gpu-vm.server.home.arpa;
|
||||
proxy_pass https://$upstream:47990;
|
||||
proxy_ssl_verify off;
|
||||
include snippets/proxy.conf;
|
|
@ -2,7 +2,6 @@
|
|||
Image=cgr.dev/chainguard/nginx
|
||||
Network=nginx.network
|
||||
Volume=/var/lib/system-config/container-config/nginx:/etc/nginx:z,ro
|
||||
Volume=/var/lib/system-config/container-config/nginx-home:/etc/nginx-sites:z,ro
|
||||
Volume=/var/lib/system-config/container-config/site:/var/www:z,ro
|
||||
Volume=/etc/certificates/certificates:/etc/certificates:z,ro
|
||||
Tmpfs=/var/lib/nginx/tmp
|
||||
|
|
Loading…
Add table
Reference in a new issue