We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c44c29 + 0de38fd commit 59bd3d7Copy full SHA for 59bd3d7
docs/applications/laravel.md
@@ -186,17 +186,15 @@ http {
186
187
charset utf-8;
188
189
- $if(IS_LARAVEL) (
+ $if(NIXPACKS_PHP_FALLBACK_PATH) (
190
location / {
191
- try_files $uri $uri/ /index.php?$query_string;
+ try_files $uri $uri/ ${NIXPACKS_PHP_FALLBACK_PATH}?$query_string;
192
}
193
- ) else ()
194
-
195
- $if(NIXPACKS_PHP_FALLBACK_PATH) (
+ ) else (
196
197
- try_files $uri $uri/ ${NIXPACKS_PHP_FALLBACK_PATH}?$query_string;
198
- }
199
+ try_files $uri $uri/ /index.php?$query_string;
+ }
+ )
200
201
location = /favicon.ico { access_log off; log_not_found off; }
202
location = /robots.txt { access_log off; log_not_found off; }
0 commit comments