maybe fix webmap nginx css...
This commit is contained in:
parent
f2e67364b8
commit
32b4bbffe2
2 changed files with 6 additions and 4 deletions
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
FROM nginx
|
FROM nginx
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
COPY ./build/distributions /usr/share/nginx/html
|
COPY ./build/distributions /usr/share/nginx/html
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
events {}
|
events {}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
# what times to include
|
include mime.types;
|
||||||
# include /etc/nginx/mime.types;
|
default_type application/octet-stream;
|
||||||
# what is the default one
|
|
||||||
#default_type application/octet-stream;
|
|
||||||
|
|
||||||
# Sets the path, format, and configuration for a buffered log write
|
# Sets the path, format, and configuration for a buffered log write
|
||||||
#log_format compression '$remote_addr - $remote_user [$time_local] '
|
#log_format compression '$remote_addr - $remote_user [$time_local] '
|
||||||
|
|
@ -22,6 +20,8 @@ http {
|
||||||
# First attempt to serve request as file, then
|
# First attempt to serve request as file, then
|
||||||
# as directory, then fall back to redirecting to index.html
|
# as directory, then fall back to redirecting to index.html
|
||||||
try_files $uri $uri/ $uri.html /index.html;
|
try_files $uri $uri/ $uri.html /index.html;
|
||||||
|
|
||||||
|
include mime.types;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue