Files
workavia-drive/twake/plugins/nginx/nginx.conf
T
montaghanmy 10fe6f78d1 feat: init
2023-03-23 11:03:16 +01:00

29 lines
453 B
Nginx Configuration File

events {}
http {
server {
listen 80 default_server;
listen [::]:80 default_server;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
location /api {
#proxy_set_header X-Forwarded-Host $host
proxy_pass http://twake_node_1:3000;
}
}
}