All checks were successful
Build and Push Docker Image / build (push) Successful in 6m31s
39 lines
696 B
Nginx Configuration File
39 lines
696 B
Nginx Configuration File
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
sendfile on;
|
|
keepalive_timeout 65;
|
|
client_max_body_size 1024m;
|
|
|
|
#gzip on;
|
|
|
|
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
charset utf-8;
|
|
|
|
location / {
|
|
root /app/nginx/html;
|
|
try_files $uri $uri/ @router;
|
|
index index.html index.htm;
|
|
}
|
|
|
|
location @router {
|
|
rewrite ^.*$ /index.html last;
|
|
}
|
|
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root html;
|
|
}
|
|
|
|
}
|
|
|
|
}
|