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 / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.min.html;
|
index index.html;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO: This could be improved later
|
# TODO: This could be improved later
|
||||||
location = /about {
|
location = /about {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index about.min.html;
|
index about.html;
|
||||||
try_files /about.min.html =404;
|
try_files /about.html =404;
|
||||||
}
|
}
|
||||||
location = /cloud {
|
location = /cloud {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index cloud.min.html;
|
index cloud.html;
|
||||||
try_files /cloud.min.html =404;
|
try_files /cloud.html =404;
|
||||||
}
|
}
|
||||||
location = /contact {
|
location = /contact {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index about.min.html;
|
index about.html;
|
||||||
try_files /contact.min.html =404;
|
try_files /contact.html =404;
|
||||||
}
|
}
|
||||||
location = /design {
|
location = /design {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index about.min.html;
|
index about.html;
|
||||||
try_files /design.min.html =404;
|
try_files /design.html =404;
|
||||||
}
|
}
|
||||||
location = /ping {
|
location = /ping {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index ping.min.html;
|
index ping.html;
|
||||||
try_files /ping.min.html =404;
|
try_files /ping.html =404;
|
||||||
}
|
}
|
||||||
location = /projects {
|
location = /projects {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index projects.min.html;
|
index projects.html;
|
||||||
try_files /projects.min.html =404;
|
try_files /projects.html =404;
|
||||||
}
|
}
|
||||||
location = /status {
|
location = /status {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index status.min.html;
|
index status.html;
|
||||||
try_files /status.min.html =404;
|
try_files /status.html =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
#error_page 404 /404.html;
|
#error_page 404 /404.html;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user