Skip to content

Commit

Permalink
Fix 404 post and clean config and static websites
Browse files Browse the repository at this point in the history
  • Loading branch information
unkn0wn107 committed Aug 27, 2024
1 parent d212f6b commit e097a6f
Show file tree
Hide file tree
Showing 32 changed files with 65 additions and 4,894 deletions.
209 changes: 0 additions & 209 deletions bug.conf

This file was deleted.

160 changes: 0 additions & 160 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,166 +55,6 @@ server {
}
}

server {
listen 8008;
server_name static.0.fr;
root /var/www/html/static_templates/static1;
index index.html;

location / {
index index.html;
limit_except GET { deny all; }
}

location /css/ {
autoindex on;
limit_except GET { deny all; }
}

location /js/ {
autoindex on;
limit_except GET { deny all; }
}

location /scss/ {
autoindex on;
limit_except GET { deny all; }
}

location /assets/ {
autoindex on;
limit_except GET { deny all; }
}
}

server {
listen 8081;
server_name static.1.fr;
root /var/www/html/static_templates/static1;
index index.html;

location / {
index index.html;
limit_except GET { deny all; }
}

location /css/ {
autoindex on;
limit_except GET { deny all; }
}

location /js/ {
autoindex on;
limit_except GET { deny all; }
}

location /scss/ {
autoindex on;
limit_except GET { deny all; }
}

location /assets/ {
autoindex on;
limit_except GET { deny all; }
}
}

server {
listen 8082;
server_name static.2.fr;
root /var/www/html/static_templates/static2;
index index.html;

location / {
index index.html;
limit_except GET { deny all; }
}

location /css/ {
autoindex on;
limit_except GET { deny all; }
}

location /js/ {
autoindex on;
limit_except GET { deny all; }
}

location /scss/ {
autoindex on;
limit_except GET { deny all; }
}

location /assets/ {
autoindex on;
limit_except GET { deny all; }
}
}

server {
listen 8083;
server_name static.3.fr;
root /var/www/html/static_templates/static3;
index index.html;

location / {
index index.html;
limit_except GET { deny all; }
}

location /css/ {
autoindex on;
limit_except GET { deny all; }
}

location /js/ {
autoindex on;
limit_except GET { deny all; }
}

location /scss/ {
autoindex on;
limit_except GET { deny all; }
}

location /assets/ {
autoindex on;
limit_except GET { deny all; }
}
}

server {
listen 8084;
server_name static.4.fr;
root /var/www/html/static_templates/static4;
index index.html;

location / {
index index.html;
limit_except GET { deny all; }
}

location /css/ {
autoindex on;
limit_except GET { deny all; }
}

location /js/ {
autoindex on;
limit_except GET { deny all; }
}

location /scss/ {
autoindex on;
limit_except GET { deny all; }
}

location /assets/ {
autoindex on;
limit_except GET { deny all; }
}
}

server {
listen 8090;
server_name festava.42lyon.fr;
Expand Down
Loading

0 comments on commit e097a6f

Please sign in to comment.