2022-12-03 01:01:28 -03:00
|
|
|
server {
|
2023-04-30 19:48:44 -04:00
|
|
|
access_log /var/log/nginx/i.zzls.xyz.log combined;
|
2022-12-03 01:01:28 -03:00
|
|
|
|
|
|
|
server_name i.zzls.xyz;
|
2022-12-03 02:47:57 -03:00
|
|
|
include configs/general.conf;
|
2023-04-05 00:54:08 -04:00
|
|
|
include configs/security.conf;
|
2022-12-03 01:01:28 -03:00
|
|
|
|
|
|
|
location / {
|
2022-12-30 04:19:34 -03:00
|
|
|
rewrite ^/(.*)$ https://i.ayaya.beauty/$1 redirect;
|
2022-12-03 01:01:28 -03:00
|
|
|
}
|
|
|
|
|
2023-12-21 14:01:35 -03:00
|
|
|
listen 443 ssl;
|
|
|
|
http2 on
|
2023-04-30 19:48:44 -04:00
|
|
|
include configs/ssl.conf;
|
2022-12-03 01:01:28 -03:00
|
|
|
|
|
|
|
}
|
|
|
|
server {
|
|
|
|
if ($host = i.zzls.xyz) {
|
|
|
|
return 301 https://$host$request_uri;
|
2023-04-16 17:03:32 -04:00
|
|
|
}
|
|
|
|
server_name i.zzls.xyz;
|
|
|
|
listen 80;
|
|
|
|
return 404; # managed by Certbot
|
|
|
|
}
|