mirror of
https://github.com/blackboxprogramming/blackroad.io.git
synced 2026-03-17 06:57:16 -05:00
🌐 Added NGINX config for Lucidia API routing
This commit is contained in:
18
nginx/lucidia.conf
Normal file
18
nginx/lucidia.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
# nginx/lucidia.conf
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name blackroad.io www.blackroad.io;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user