[FIX]Bad nginx templating for ports
This commit is contained in:
parent
0b153187ef
commit
cf360c39a2
@ -1,6 +1,6 @@
|
||||
server {
|
||||
listen ${NGINX_PORT} default_server;
|
||||
listen {NGINX_SSL_PORT ssl default_server;
|
||||
listen ${NGINX_SSL_PORT} ssl default_server;
|
||||
server_name ${NGINX_HOST};
|
||||
ssl_certificate /etc/nginx/certs/req.pem;
|
||||
ssl_certificate_key /etc/nginx/certs/cert.key;
|
||||
|
@ -7,13 +7,13 @@ upstream ${ODOO_SERVICE}longpoll {
|
||||
}
|
||||
|
||||
server {
|
||||
listen ${ODOO_NGINX_PORT};
|
||||
listen ${NGINX_PORT};
|
||||
server_name ${ODOO_SERVER_NAMES};
|
||||
return 301 https://${DOLLSIGN}host${DOLLSIGN}request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen ${ODOO_NGINX_SSL_PORT} ssl;
|
||||
listen ${NGINX_SSL_PORT} ssl;
|
||||
server_name ${ODOO_SERVER_NAMES};
|
||||
client_max_body_size 200M;
|
||||
gzip on;
|
||||
|
Loading…
Reference in New Issue
Block a user