Remove nginx from vps

This commit is contained in:
Mathieu Strypsteen 2024-05-31 14:37:47 +02:00
parent 73e113f29a
commit 9bc46055f6
Signed by: mathieu
GPG key ID: 782A42E461BC6824
7 changed files with 2 additions and 18 deletions

View file

@ -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;

View file

@ -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

View file

@ -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