Compare commits

..

No commits in common. "dd3fd1403a88558177b70a90a3c62ffc7051251a" and "ad0be8b7d765f35aba693d79a8acadffa838c51c" have entirely different histories.

2 changed files with 4 additions and 14 deletions

View File

@ -20,6 +20,6 @@ COPY --from=development /app/dist /usr/share/nginx/html
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80 443 EXPOSE 80
ENTRYPOINT [ "nginx", "-g", "daemon off;" ] ENTRYPOINT [ "nginx", "-g", "daemon off;" ]

View File

@ -5,16 +5,6 @@
# } # }
server { server {
listen 80; listen 80;
return 301 https://$host$request_uri; # Redirect HTTP sang HTTPS
}
server{
listen 443 ssl;
server_name comp.soict.io;
ssl_certificate /etc/nginx/ssl/nginx-selfsigned.crt;
ssl_certificate_key /etc/nginx/ssl/nginx-selfsigned.key;
set $backend_server 172.18.10.8:8080; set $backend_server 172.18.10.8:8080;
root /usr/share/nginx/html; root /usr/share/nginx/html;