View Single Post
Old 26/01/2020, 12:48 PM   #3
Little Clucker
Sasinosoft's Avatar
Join Date: Jan 2020
Location: Tampa, FL
Posts: 27
Reputation: 1
Default Re: Configuring Nginx to reverse-proxy SA-MP server

Originally Posted by Markski View Post
This one I used previously for HTTP requests, not sure if it'd work for SA-MP but might be worth a try, tweaked it a bit for your case...

HTML Code:
server {
    listen 7777;
    location / {
        proxy_set_header   X-Real-IP $remote_addr;
        proxy_set_header   Host      $http_host;
Thanks, I will give it a try. Should I create a conf file in sites-available containing only this?
Sasinosoft is offline   Reply With Quote