first commit
This commit is contained in:
17
config/custom_linuxiarz.conf
Normal file
17
config/custom_linuxiarz.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
location ~* /sk {
|
||||
return 301 https://sk.linuxiarz.pl/;
|
||||
}
|
||||
|
||||
location = /phpinfo/ {
|
||||
auth_basic "";
|
||||
auth_basic_user_file /etc/nginx/.htpasswd;
|
||||
}
|
||||
|
||||
location = /ovh/ {
|
||||
return 404;
|
||||
}
|
||||
|
||||
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last;
|
||||
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2;zip=true" last;
|
||||
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last;
|
||||
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last;
|
||||
Reference in New Issue
Block a user