nginx directives

Ακυρώθηκε Αναρτήθηκε Πριν 6 χρόνια Πληρώθηκε κατά την παράδοση
Ακυρώθηκε

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

Nginx

Ταυτότητα Εργασίας: #14716002

Σχετικά με την εργασία

5 προτάσεις Απομακρυσμένη εργασία Ενεργό Πριν 6 χρόνια

5 freelancers κάνουν προσφορά κατά μέσο όρο $54/ώρα για αυτή τη δουλειά

victorxian

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 Περισσότερα

$55 AUD / ώρα
(2 Αξιολογήσεις)
3.8
MYehia565

A proposal has not yet been provided

$55 AUD / ώρα
(12 Αξιολογήσεις)
4.2
zang3tsu

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.

$54 AUD / ώρα
(0 Αξιολογήσεις)
0.0