remove minification from nginx config
This commit is contained in:
parent
79c09d6753
commit
87bc63f6b0
30
default.conf
30
default.conf
@ -5,45 +5,45 @@ server {
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.min.html;
|
||||
index index.html;
|
||||
autoindex on;
|
||||
}
|
||||
|
||||
# TODO: This could be improved later
|
||||
location = /about {
|
||||
root /usr/share/nginx/html;
|
||||
index about.min.html;
|
||||
try_files /about.min.html =404;
|
||||
index about.html;
|
||||
try_files /about.html =404;
|
||||
}
|
||||
location = /cloud {
|
||||
root /usr/share/nginx/html;
|
||||
index cloud.min.html;
|
||||
try_files /cloud.min.html =404;
|
||||
index cloud.html;
|
||||
try_files /cloud.html =404;
|
||||
}
|
||||
location = /contact {
|
||||
root /usr/share/nginx/html;
|
||||
index about.min.html;
|
||||
try_files /contact.min.html =404;
|
||||
index about.html;
|
||||
try_files /contact.html =404;
|
||||
}
|
||||
location = /design {
|
||||
root /usr/share/nginx/html;
|
||||
index about.min.html;
|
||||
try_files /design.min.html =404;
|
||||
index about.html;
|
||||
try_files /design.html =404;
|
||||
}
|
||||
location = /ping {
|
||||
root /usr/share/nginx/html;
|
||||
index ping.min.html;
|
||||
try_files /ping.min.html =404;
|
||||
index ping.html;
|
||||
try_files /ping.html =404;
|
||||
}
|
||||
location = /projects {
|
||||
root /usr/share/nginx/html;
|
||||
index projects.min.html;
|
||||
try_files /projects.min.html =404;
|
||||
index projects.html;
|
||||
try_files /projects.html =404;
|
||||
}
|
||||
location = /status {
|
||||
root /usr/share/nginx/html;
|
||||
index status.min.html;
|
||||
try_files /status.min.html =404;
|
||||
index status.html;
|
||||
try_files /status.html =404;
|
||||
}
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
Loading…
x
Reference in New Issue
Block a user