Skip to content

Commit 9eb4c90

Browse files
committed
Update nginx.conf.template
1 parent 59c91c4 commit 9eb4c90

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

webserver/templates/nginx.conf.template

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ server {
1919
}
2020

2121
server {
22-
#listen 443 ssl http2;
23-
#listen [::]:443 ipv6only=on ssl http2;
24-
#
25-
server_name ${NGINX_HOST} www.${NGINX_HOST};
26-
#
27-
#ssl_certificate /etc/letsencrypt/live/${NGINX_HOST}/fullchain.pem;
28-
#ssl_certificate_key /etc/letsencrypt/live/${NGINX_HOST}/privkey.pem;
29-
#ssl_trusted_certificate /etc/letsencrypt/live/${NGINX_HOST}/chain.pem;
30-
#ssl_dhparam /etc/letsencrypt/ssl-dhparam.pem;
31-
include /etc/letsencrypt/options-ssl-nginx.conf;
22+
#listen 443 ssl http2;
23+
#listen [::]:443 ipv6only=on ssl http2;
24+
#
25+
server_name ${NGINX_HOST} www.${NGINX_HOST};
26+
#
27+
#ssl_certificate /etc/letsencrypt/live/${NGINX_HOST}/fullchain.pem;
28+
#ssl_certificate_key /etc/letsencrypt/live/${NGINX_HOST}/privkey.pem;
29+
#ssl_trusted_certificate /etc/letsencrypt/live/${NGINX_HOST}/chain.pem;
30+
#ssl_dhparam /etc/letsencrypt/ssl-dhparam.pem;
31+
include /etc/letsencrypt/options-ssl-nginx.conf;
3232

33-
root /var/www/html/webapp/public;
34-
index index.php;
33+
root /var/www/html/webapp/public;
34+
index index.php;
3535

36-
location / {
37-
try_files $uri /index.php$is_args$args;
38-
}
36+
location / {
37+
try_files $uri /index.php$is_args$args;
38+
}
3939

4040
# optionally disable falling back to PHP script for the asset directories;
4141
# nginx will return a 404 error when files are not found instead of passing the

0 commit comments

Comments
 (0)