mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-01-31 03:12:45 +00:00
33 lines
No EOL
948 B
Nginx Configuration File
33 lines
No EOL
948 B
Nginx Configuration File
events {
|
|
|
|
}
|
|
|
|
error_log /dev/stdout info;
|
|
|
|
http {
|
|
access_log /dev/stdout;
|
|
client_max_body_size 20m;
|
|
server {
|
|
server_name example.localhost;
|
|
|
|
location ~ ^/(ws)/ {
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_pass http://baserow:80;
|
|
}
|
|
|
|
location / {
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header Host $http_host;
|
|
proxy_http_version 1.1;
|
|
proxy_pass http://baserow:80;
|
|
}
|
|
}
|
|
} |