diff --git a/Dockerfile b/Dockerfile index b6be1b6..44cda6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ FROM gitea.pena/penadevops/container-images/nginx:main as build -COPY privkey.pem /etc/nginx/ -COPY fullchain.pem /etc/nginx/ +COPY privkey.pem /etc/nginx/certs/live/pena.digital/ +COPY fullchain.pem /etc/nginx/certs/live/pena.digital/ COPY default.conf /etc/nginx/conf.d/ + COPY nginx.conf /etc/nginx/ COPY index.html /usr/share/nginx/html/404/ COPY robots.txt /usr/share/nginx/html/robots.txt diff --git a/default.conf b/default.conf index da91533..82a7308 100644 --- a/default.conf +++ b/default.conf @@ -1149,9 +1149,9 @@ server { proxy_set_header Host $host; proxy_pass http://10.8.0.8:8006/; } - location / { - proxy_pass http://tourizmland; - } + # location / { + # proxy_pass http://tourizmland; + # } listen 443 ssl; # managed by Certbot ssl_certificate /etc/nginx/certs/live/pena.digital/fullchain.pem; # managed by Certbot @@ -1181,9 +1181,9 @@ server { proxy_set_header Host $host; proxy_pass http://10.8.0.8:8006/; } - location / { - proxy_pass http://commonquiz; - } + # location / { + # proxy_pass http://commonquiz; + # } listen 443 ssl; # managed by Certbot ssl_certificate /etc/nginx/certs/live/pena.digital/fullchain.pem; # managed by Certbot