Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
proxy_pass check if 404, and return 404
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
justink101
January 07, 2014 06:02PM
Registered: 10 years ago
Posts: 40
I am using proxy_pass to a dynamic subdomain:
proxy_pass https://$remote_user.mydomain.io
Is it possible to have the proxy_pass check if the response of https://$remote_user.mydomain.io is 404, if so, simply do:
return 404;
I.E. don't proxy, immediately return.
Reply
Quote
RSS
Subject
Author
Posted
proxy_pass check if 404, and return 404
justink101
January 07, 2014 06:02PM
Re: proxy_pass check if 404, and return 404
Jonathan Matthews
January 07, 2014 06:58PM
Re: proxy_pass check if 404, and return 404
Jonathan Matthews
January 07, 2014 07:12PM
Re: proxy_pass check if 404, and return 404
Valentin V. Bartenev
January 07, 2014 11:22PM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018