Update 22222 port from template

This commit is contained in:
VirtuBox
2020-01-13 18:24:18 +01:00
parent 9a5b3e3368
commit 2cdec042b5
3 changed files with 16 additions and 13 deletions

View File

@@ -2,13 +2,13 @@
server {
listen 22222 default_server ssl http2;
listen {{port}} default_server ssl http2;
access_log /var/log/nginx/22222.access.log rt_cache;
error_log /var/log/nginx/22222.error.log;
# Force HTTP to HTTPS
error_page 497 =200 https://$host:22222$request_uri;
error_page 497 =200 https://$host:{{port}}$request_uri;
root {{webroot}}22222/htdocs;
index index.php index.htm index.html;