Created
September 9, 2018 09:41
-
-
Save fpaupier/2d690a01b23a6f46cb5562986a48604b to your computer and use it in GitHub Desktop.
Rewrite rules reverse proxy call to API
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
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
<some code> | |
ProxyPreserveHost On | |
ProxyPass /apiUS http://127.0.0.1:8000/apiUS | |
ProxyPassReverse /apiUS https://127.0.0.1:8000/apiUS | |
<some code> | |
</VirtualHost> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment