mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
Update modx.stpl
This commit is contained in:
parent
7a3e06941c
commit
22accb9e83
1 changed files with 2 additions and 3 deletions
|
@ -1,13 +1,12 @@
|
||||||
server {
|
server {
|
||||||
listen %ip%:%web_ssl_port%;
|
listen %ip%:%web_ssl_port% ssl http2;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
root %sdocroot%;
|
root %sdocroot%;
|
||||||
index index.php index.html index.htm;
|
index index.php index.html index.htm;
|
||||||
access_log /var/log/nginx/domains/%domain%.log combined;
|
access_log /var/log/nginx/domains/%domain%.log combined;
|
||||||
access_log /var/log/nginx/domains/%domain%.bytes bytes;
|
access_log /var/log/nginx/domains/%domain%.bytes bytes;
|
||||||
error_log /var/log/nginx/domains/%domain%.error.log error;
|
error_log /var/log/nginx/domains/%domain%.error.log error;
|
||||||
|
|
||||||
ssl on;
|
|
||||||
ssl_certificate %ssl_pem%;
|
ssl_certificate %ssl_pem%;
|
||||||
ssl_certificate_key %ssl_key%;
|
ssl_certificate_key %ssl_key%;
|
||||||
# if you need to rewrite www to non-www uncomment bellow
|
# if you need to rewrite www to non-www uncomment bellow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue