Skip to content

Commit

Permalink
✔ Asw ~
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed Sep 14, 2024
1 parent b1b1a12 commit a574482
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/alt-site/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ server {
ssl_certificate /etc/letsencrypt/live/fanshare.id/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/fanshare.id/privkey.pem;

if ($request_uri ~ .*.php.*) {
return 301 https://www.youtube.com/watch?v=dQw4w9WgXcQ;
}

root /home/bifeldy/www/fansubid/dist/alt-site;
index index.html;

Expand Down
4 changes: 4 additions & 0 deletions projects/main-site/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ server {
ssl_certificate /etc/letsencrypt/live/fansub.id/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/fansub.id/privkey.pem;

if ($request_uri ~ .*.php.*) {
return 301 https://www.youtube.com/watch?v=dQw4w9WgXcQ;
}

root /home/bifeldy/www/fansubid/dist/main-site/browser;
index index.html;

Expand Down

0 comments on commit a574482

Please sign in to comment.