Skip to content
Snippets Groups Projects
Commit 6281f6e1 authored by root's avatar root
Browse files

Add example nginx config

parent c6c992fe
Branches
No related tags found
No related merge requests found
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
# Pass request to sms-gateway
proxy_pass http://127.0.0.1:4242;
# Pass headers
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment