mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Redirect from www
This commit is contained in:
+34
-28
@@ -1,32 +1,38 @@
|
||||
new.podsync.net
|
||||
gzip
|
||||
http://podsync.net, https://podsync.net, http://new.podsync.net, https://new.podsync.net, http://localhost:2015
|
||||
{
|
||||
gzip
|
||||
|
||||
errors stdout
|
||||
errors stdout
|
||||
|
||||
ratelimit 2 3 second {
|
||||
/feed
|
||||
/download
|
||||
ratelimit 2 3 second {
|
||||
/feed
|
||||
/download
|
||||
}
|
||||
|
||||
proxy / {%REDIRECT_HOST%}:{%REDIRECT_PORT%} {
|
||||
header_upstream Host {host}
|
||||
transparent
|
||||
}
|
||||
|
||||
tls [email protected]
|
||||
|
||||
header / {
|
||||
# Remove ASP.NET specific headers
|
||||
-Server
|
||||
-X-Powered-By
|
||||
-X-Sourcefiles
|
||||
|
||||
# Enable cross-site filter (XSS) and tell browser to block detected attacks
|
||||
X-XSS-Protection "1; mode=block"
|
||||
|
||||
# Prevent some browsers from MIME-sniffing a response away from the declared Content-Type
|
||||
X-Content-Type-Options "nosniff"
|
||||
|
||||
# Disallow the site to be rendered within a frame (clickjacking protection)
|
||||
X-Frame-Options "DENY"
|
||||
}
|
||||
}
|
||||
|
||||
proxy / {%REDIRECT_HOST%}:{%REDIRECT_PORT%} {
|
||||
header_upstream Host {host}
|
||||
transparent
|
||||
}
|
||||
|
||||
tls [email protected]
|
||||
|
||||
header / {
|
||||
# Remove ASP.NET specific headers
|
||||
-Server
|
||||
-X-Powered-By
|
||||
-X-Sourcefiles
|
||||
|
||||
# Enable cross-site filter (XSS) and tell browser to block detected attacks
|
||||
X-XSS-Protection "1; mode=block"
|
||||
|
||||
# Prevent some browsers from MIME-sniffing a response away from the declared Content-Type
|
||||
X-Content-Type-Options "nosniff"
|
||||
|
||||
# Disallow the site to be rendered within a frame (clickjacking protection)
|
||||
X-Frame-Options "DENY"
|
||||
}
|
||||
www.podsync.net {
|
||||
redir https://podsync.net{uri}
|
||||
}
|
||||
Reference in New Issue
Block a user