Skip to content

Commit

Permalink
nodejs templates ssl fix
Browse files Browse the repository at this point in the history
  • Loading branch information
myvesta committed May 16, 2024
1 parent 763eea5 commit 81f507b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
server {
listen %ip%:%proxy_ssl_port%;
listen %ip%:%proxy_ssl_port% ssl;
server_name %domain_idn% %alias_idn%;
ssl on;
# ssl on;
http2 on;
ssl_certificate %ssl_pem%;
ssl_certificate_key %ssl_key%;
error_log /var/log/%web_system%/domains/%domain%.error.log error;
Expand Down Expand Up @@ -41,7 +42,7 @@ server {
}


location ~ /\.ht {return 404;}
location ~ /\.ht {return 404;}
location ~ /\.env {return 404;}
location ~ /\.svn/ {return 404;}
location ~ /\.git/ {return 404;}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
server {
listen %ip%:%proxy_ssl_port%;
listen %ip%:%proxy_ssl_port% ssl;
server_name %domain_idn% %alias_idn%;
ssl on;
# ssl on;
http2 on;
ssl_certificate %ssl_pem%;
ssl_certificate_key %ssl_key%;
error_log /var/log/%web_system%/domains/%domain%.error.log error;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
server {
listen %ip%:%proxy_ssl_port%;
listen %ip%:%proxy_ssl_port% ssl;
server_name %domain_idn% %alias_idn%;
ssl on;
# ssl on;
http2 on;
ssl_certificate %ssl_pem%;
ssl_certificate_key %ssl_key%;
error_log /var/log/%web_system%/domains/%domain%.error.log error;
Expand Down Expand Up @@ -41,7 +42,7 @@ server {
}


location ~ /\.ht {return 404;}
location ~ /\.ht {return 404;}
location ~ /\.env {return 404;}
location ~ /\.svn/ {return 404;}
location ~ /\.git/ {return 404;}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
server {
listen %ip%:%proxy_ssl_port%;
listen %ip%:%proxy_ssl_port% ssl;
server_name %domain_idn% %alias_idn%;
ssl on;
# ssl on;
http2 on;
ssl_certificate %ssl_pem%;
ssl_certificate_key %ssl_key%;
error_log /var/log/%web_system%/domains/%domain%.error.log error;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
server {
listen %ip%:%proxy_ssl_port%;
listen %ip%:%proxy_ssl_port% ssl;
server_name %domain_idn% %alias_idn%;
ssl on;
# ssl on;
http2 on;
ssl_certificate %ssl_pem%;
ssl_certificate_key %ssl_key%;
error_log /var/log/%web_system%/domains/%domain%.error.log error;
Expand Down

1 comment on commit 81f507b

@aminbahgat
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how can do that in my server?

Please sign in to comment.