Created
December 13, 2018 12:13
-
-
Save iamsebastian/21c2db8b5165440add95a74b8a617363 to your computer and use it in GitHub Desktop.
[nginx] proxy pass with PATCH instead of PUT
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
# This is your nginx.conf to setting up a proxy, changing the | |
# HTTP method from * to PATCH, and forward the request. | |
http { | |
server { | |
listen 80; | |
location / { | |
proxy_method PATCH; | |
proxy_pass http://YOUR_URL:YOUR_PORT/; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment