Created
August 4, 2017 11:06
-
-
Save pperehozhih/8d3bc59a2a0ac832846a40cc4bb155e5 to your computer and use it in GitHub Desktop.
custom response
This file contains hidden or 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
error_page 400 403 404 405 =200 @40*_xml; | |
location @40*_xml { | |
default_type application/xml; | |
return 200 '<country technical_work=\'{"notify_start":1501834800,"work_start":1501835400,"work_end":1501836300}\' server_time=\'1501835409\'> | |
<field></field> | |
<messages> | |
<message code=\'technical_works\' /> | |
</messages> | |
</country>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment