Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
97057f25
Commit
97057f25
authored
Jul 26, 2016
by
Eric Pfeiffer
Committed by
GitHub
Jul 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Caddyfile
fixes 404 errors for files in the public folder, such as css or js files.
parent
c60cb9ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Caddyfile
caddy/Caddyfile
+7
-2
No files found.
caddy/Caddyfile
View file @
97057f25
# Docs: https://caddyserver.com/docs/caddyfile
# Docs: https://caddyserver.com/docs/caddyfile
0.0.0.0:80
0.0.0.0:80
fastcgi / php-fpm:9000 php
root /var/www/laravel/public
fastcgi / php-fpm:9000 php {
index index.php
}
rewrite {
rewrite {
r .*
ext /
to /index.php?{query}
to /index.php?{query}
}
}
browse
browse
log stdout
log stdout
errors std
out
errors std
err
# Uncomment to enable TLS (HTTPS)
# Uncomment to enable TLS (HTTPS)
# Change the first list to listen on port 443 when enabling TLS
# Change the first list to listen on port 443 when enabling TLS
#tls self_signed
#tls self_signed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment