Last active
June 27, 2022 09:51
-
-
Save ivandoric/0f20835c969a40ae3759cc6cd6b39be2 to your computer and use it in GitHub Desktop.
.htaccess file for video tutorial about deploying Node apps to shared hosting. Checkout the video: https://www.youtube.com/watch?v=ebWJbbUT4TA
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
RewriteEngine On | |
RewriteRule ^$ http://127.0.0.1:8080/ [P,L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ http://127.0.0.1:1337/$1 [P,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment