nginx directives
ελάχιστο $50 AUD / ώρα
JOB
======
I want you to provide me with nginx config directives so that if a request comes to my server looking for x, y or z and the request is not from IP addresses (1,2 or 3) then they should be redirected to [login to view URL]
This is in my nginx config at the moment ( [login to view URL] is just an example )
server {
listen 80;
listen 443;
server_name [login to view URL] *.[login to view URL];
ssl on;
}
In particular I want to redirect all requests where the request is for the main domain itself i.e.
[login to view URL] or
[login to view URL] or
[login to view URL] or
[login to view URL] or
AND WHERE the users IP address is not 1,2 or 3 {111.111.1111.11 or 111.111.1111.12 just examples not real BUT allow up to 3 ip addresses}
HOWEVER REDIRECTION SHOULD NOT OCCUR (in any circumstance)
where the subdomain is not www for example the following requests would not be redirected
[login to view URL] or
[login to view URL] or
[login to view URL] or
HOW I NEED YOU TO PROVIDE THE WORK
I can't give you access to my server so you will need to provide me with the directives and I will input them to test them
Ταυτότητα Εργασίας: #14716002
Σχετικά με την εργασία
5 freelancers κάνουν προσφορά κατά μέσο όρο $54/ώρα για αυτή τη δουλειά
Hi my name is Victor from Melbourne Australia. I work as a Linux System Engineer with 8 years experience in supporting Enterprise Linux environment. Happy to discuss with you in more detail and will be able to assist Περισσότερα
I have plenty of experience setting up Nginx websites with various requirements and specifications. I have used Nginx as a simple web server, caching server, reverse proxy, etc.