| Current Path : /opt/nginxhttpd_/template/vhconf/ |
| Current File : //opt/nginxhttpd_/template/vhconf/default.conf.twig |
rewrite {
enable 1
autoLoadHtaccess 1
RewriteCond %{HTTP:X-Forwarded-Proto} ^http$
RewriteRule .* - [E=SERVER_PORT:80]
RewriteCond %{HTTP:X-Forwarded-Proto} ^https$
RewriteRule .* - [E=SERVER_PORT:443]
}