-
-
Save ldonjibson/fdd99ecc179fd5fd0b37ebfadb5362f3 to your computer and use it in GitHub Desktop.
.htaccess file for video tutorial about deploying Node apps (STRAPI, NEXT, NUXT) to shared hosting. Checkout the video: https://www.youtube.com/watch?v=ebWJbbUT4TA
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
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