2023-02-06 22:23:51 +00:00
|
|
|
daemon off;
|
2023-02-06 22:32:46 +00:00
|
|
|
error_log /dev/stdout info;
|
2023-02-06 23:55:46 +00:00
|
|
|
|
2023-02-10 15:41:52 +00:00
|
|
|
|
2023-02-06 22:23:51 +00:00
|
|
|
events {
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
http {
|
|
|
|
include mime.types;
|
|
|
|
charset utf-8;
|
2023-02-07 00:09:40 +00:00
|
|
|
# access_log /dev/stdout;
|
2023-02-06 22:23:51 +00:00
|
|
|
|
|
|
|
server {
|
|
|
|
server_name localhost;
|
2023-02-07 18:46:39 +00:00
|
|
|
listen 8099;
|
|
|
|
allow 172.30.32.2;
|
|
|
|
deny all;
|
2023-02-06 22:23:51 +00:00
|
|
|
|
|
|
|
location / {
|
|
|
|
root /public;
|
|
|
|
}
|
|
|
|
|
2023-02-10 15:48:16 +00:00
|
|
|
location /input_img {
|
2023-02-10 15:51:42 +00:00
|
|
|
proxy_pass http://localhost:8080/;
|
2023-02-06 23:25:36 +00:00
|
|
|
}
|
|
|
|
|
2023-02-06 22:23:51 +00:00
|
|
|
location /ws {
|
2023-02-06 22:58:38 +00:00
|
|
|
proxy_pass http://localhost:8000;
|
2023-02-06 22:23:51 +00:00
|
|
|
proxy_http_version 1.1;
|
2023-02-07 18:49:13 +00:00
|
|
|
proxy_set_header Connection $http_connection;
|
2023-02-06 22:23:51 +00:00
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|