Skip to content

reverse proxy with ip address instead of subdomain #1872

Answered by FrAllard
FrAllard asked this question in Q&A
Discussion options

You must be logged in to vote

Replying to myself!

create a file "custom/http.conf" and put your server instruction in it for server name instead of a domain enter the ip address.

server {
    listen 80;
    server_name 55.66.77.88;

    location /YOUR_LOCATION {
        #your instructions
    }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FrAllard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant