Remove nginx from vps
This commit is contained in:
parent
73e113f29a
commit
9bc46055f6
7 changed files with 2 additions and 18 deletions
|
@ -5,7 +5,7 @@ server {
|
|||
include snippets/headers.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 systemd-gaming-vm.;
|
||||
set $upstream gaming-vm.server.home.arpa;
|
||||
proxy_pass https://$upstream:47990;
|
||||
proxy_ssl_verify off;
|
||||
include snippets/proxy.conf;
|
||||
|
|
|
@ -3,6 +3,7 @@ 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:/etc/certificates:z,ro
|
||||
Tmpfs=/var/lib/nginx/tmp
|
||||
Tmpfs=/var/lib/nginx/logs
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
[Container]
|
||||
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-vps:/etc/nginx-sites:z,ro
|
||||
Volume=/var/lib/system-config/container-config/site:/var/www:z,ro
|
||||
Volume=/etc/certificates:/etc/certificates:z,ro
|
||||
Tmpfs=/var/lib/nginx/tmp
|
||||
Tmpfs=/var/lib/nginx/logs
|
||||
PublishPort=80:80
|
||||
PublishPort=[::]:80:80
|
||||
PublishPort=443:443
|
||||
PublishPort=[::]:443:443
|
||||
Sysctl=net.ipv4.ip_unprivileged_port_start=80
|
||||
AutoUpdate=registry
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue