mirror of
https://github.com/MAGICGrants/strapi.git
synced 2026-01-08 04:13:50 -05:00
19 lines
482 B
Nginx Configuration File
19 lines
482 B
Nginx Configuration File
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
server {
|
|
listen 80;
|
|
server_name strapi.magicgrants.org;
|
|
|
|
location / {
|
|
proxy_pass http://strapi:1337;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header X-Forwarded-Host $host;
|
|
}
|
|
}
|
|
} |