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
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
COPY ./build/distributions /usr/share/nginx/html
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
events {}
|
||||
|
||||
http {
|
||||
# what times to include
|
||||
# include /etc/nginx/mime.types;
|
||||
# what is the default one
|
||||
#default_type application/octet-stream;
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
# Sets the path, format, and configuration for a buffered log write
|
||||
#log_format compression '$remote_addr - $remote_user [$time_local] '
|
||||
|
|
@ -22,6 +20,8 @@ http {
|
|||
# First attempt to serve request as file, then
|
||||
# as directory, then fall back to redirecting to index.html
|
||||
try_files $uri $uri/ $uri.html /index.html;
|
||||
|
||||
include mime.types;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue