Skip to content

Commit

Permalink
fixes cybersholt#6: syntax for nginx version 1.15 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
WulfCodaff committed Nov 26, 2019
1 parent 477a3f0 commit 946bb99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions force-ssl-www.stpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
server {
listen %ip%:%web_ssl_port%;
listen %ip%:%web_ssl_port% ssl;
server_name %domain_idn% %alias_idn%;
root %sdocroot%;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/%domain%.log combined;
access_log /var/log/nginx/domains/%domain%.bytes bytes;
error_log /var/log/nginx/domains/%domain%.error.log error;

ssl on;
ssl_certificate %ssl_pem%;
ssl_certificate_key %ssl_key%;

Expand Down
3 changes: 1 addition & 2 deletions ssl-no-www.stpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
server {
listen %ip%:%web_ssl_port%;
listen %ip%:%web_ssl_port% ssl;
server_name %domain_idn% %alias_idn%;
root %sdocroot%;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/%domain%.log combined;
access_log /var/log/nginx/domains/%domain%.bytes bytes;
error_log /var/log/nginx/domains/%domain%.error.log error;

ssl on;
ssl_certificate %ssl_pem%;
ssl_certificate_key %ssl_key%;

Expand Down

0 comments on commit 946bb99

Please sign in to comment.