2019-04-03 07:42:41 +00:00
|
|
|
# http://nginx.org/en/docs/http/websocket.html
|
|
|
|
# http://nginx.org/en/docs/http/websocket.html
|
|
|
|
map $http_upgrade $connection_upgrade {
|
|
|
|
default upgrade;
|
|
|
|
'' close;
|
|
|
|
}
|
|
|
|
|
|
|
|
# http server
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
|
2019-04-05 05:02:19 +00:00
|
|
|
server_name portainer.c2a-systeme.test;
|
2019-04-03 07:42:41 +00:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://127.0.0.1:8003;
|
|
|
|
}
|
2019-04-03 08:09:15 +00:00
|
|
|
}
|