localdev nginx.conf fix
This commit is contained in:
parent
82c501f1b5
commit
742042398c
|
@ -14,7 +14,7 @@ events {
|
|||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
include /usr/local/etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
|
@ -36,7 +36,7 @@ http {
|
|||
default "";
|
||||
}
|
||||
|
||||
upstream discoursio-api-8080 {
|
||||
upstream localhost-8080 {
|
||||
server 0.0.0.0:8080;
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ http {
|
|||
gzip_vary on;
|
||||
gzip_comp_level 6;
|
||||
|
||||
proxy_pass http://discoursio-api-8080;
|
||||
proxy_pass http://localhost-8080;
|
||||
http2_push_preload on;
|
||||
proxy_http_version 1.1;
|
||||
proxy_read_timeout 60s;
|
||||
|
@ -176,5 +176,5 @@ http {
|
|||
# index index.html index.htm;
|
||||
# }
|
||||
#}
|
||||
include servers/*;
|
||||
# include /usr/local/etc/nginx/servers/*;
|
||||
}
|
Loading…
Reference in New Issue
Block a user