feat: remove ssl cert.

This commit is contained in:
a.bouhuolia
2021-09-21 14:54:46 +02:00
parent 6da12f679d
commit bace10d8c6
10 changed files with 3 additions and 284 deletions

View File

@@ -1,15 +0,0 @@
# environment variables
# WEB_REVERSE_PROXY_PORT ${WEB_REVERSE_PROXY_PORT}
server {
listen 443 default_server http2;
ssl on;
ssl_certificate /etc/ssl/bigcapital.ly/fullchain.pem;
ssl_certificate_key /etc/ssl/bigcapital.ly/privkey.pem;
include /etc/ssl/bigcapital.ly/options-ssl-nginx.conf;
ssl_dhparam /etc/ssl/bigcapital.ly/ssl-dhparams.pem;
location / {
proxy_pass http://127.0.0.1:${WEB_REVERSE_PROXY_PORT};
}
}

View File

@@ -1,14 +1,8 @@
# environment variables
# WEB_REVERSE_PROXY_PORT ${WEB_REVERSE_PROXY_PORT}
server {
listen 80 default_server;
location / {
proxy_pass http://node:${WEB_REVERSE_PROXY_PORT};
}
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt/;
log_not_found off;
root /usr/share/nginx/html;
try_files $uri /index.html;
}
}