Fixing bugs
This commit is contained in:
parent
f50d01678e
commit
5b7375ae57
|
|
@ -2,3 +2,4 @@ FROM nginx:latest
|
|||
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY dist/ticket-ui /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
@ -17,7 +17,10 @@
|
|||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:application",
|
||||
"options": {
|
||||
"outputPath": "dist/ticket-ui",
|
||||
"outputPath": {
|
||||
"base": "dist/ticket-ui",
|
||||
"browser": ""
|
||||
},
|
||||
"index": "src/index.html",
|
||||
"browser": "src/main.ts",
|
||||
"polyfills": [
|
||||
|
|
|
|||
|
|
@ -1,16 +1,21 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
listen 0.0.0.0:8080;
|
||||
listen [::]:8080;
|
||||
default_type application/octet-stream;
|
||||
|
||||
gzip on;
|
||||
gzip_comp_level 6;
|
||||
gzip_vary on;
|
||||
gzip_min_length 1000;
|
||||
gzip_proxied any;
|
||||
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
gzip_buffers 16 8k;
|
||||
gunzip on;
|
||||
client_max_body_size 256M;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user