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
dbee864d
Commit
dbee864d
authored
Oct 31, 2016
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename laravel.conf to default and add sample conf
parent
739cc31f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
default.conf
nginx/sites/default.conf
+2
-2
sample.conf.example
nginx/sites/sample.conf.example
+28
-0
No files found.
nginx/sites/
laravel
.conf
→
nginx/sites/
default
.conf
View file @
dbee864d
...
...
@@ -3,8 +3,8 @@ server {
listen
80
default_server
;
listen
[::]:
80
default_server
ipv6only
=
on
;
server_name
lara
vel
;
root
/
var
/
www
/
laravel
/
public
;
server_name
lara
dock
;
root
/
var
/
www
/
public
;
index
index
.
php
index
.
html
index
.
htm
;
location
/ {
...
...
nginx/sites/sample.conf.example
0 → 100644
View file @
dbee864d
server {
listen 80;
listen [::]:80;
server_name sample.dev;
root /var/www/sample/public;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
try_files $uri /index.php =404;
fastcgi_pass php-upstream;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
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