mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-10 11:30:46 +08:00
toggle redirect
This commit is contained in:
@@ -123,12 +123,12 @@ server {
|
||||
location / {
|
||||
deny all;
|
||||
}
|
||||
}</span>
|
||||
<!--
|
||||
}</span><!--
|
||||
|
||||
|
||||
|
||||
-->
|
||||
✔ redirect --><span ng-if="isRedirect()">
|
||||
|
||||
# {{ isWWW() ? 'non-www, ' : '' }}subdomains redirect
|
||||
server {
|
||||
listen {{ data.ipv4 !== '*' ? data.ipv4 + ':' : '' }}{{ isHTTPS() ? '443 ssl' : '80' }}{{ isHTTP2() ? ' http2' : '' }};<!--
|
||||
|
Reference in New Issue
Block a user