Created
October 5, 2022 07:15
-
-
Save MrWhiteD/d4ac4b0e82a5e83e88e173b2a81599d9 to your computer and use it in GitHub Desktop.
[Nginx — уходим на технические работы] #nginx #error #503
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Тестирование ошибок. Возвращаем заголовок | |
header('HTTP/1.1 503 Service Temporarily Unavailable'); | |
header('Retry-After: 300'); | |
#Чтобы nginx ловил ошибки бэка (апача) | |
proxy_intercept_errors on; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment