mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
feat: remove ssl cert.
This commit is contained in:
@@ -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};
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user