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
5da40586
Commit
5da40586
authored
Oct 31, 2016
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete the drupal sample nginx config file
parent
2ed09f42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
57 deletions
+0
-57
drupal_8.conf
nginx/sites/framework-examples/drupal_8.conf
+0
-57
No files found.
nginx/sites/framework-examples/drupal_8.conf
deleted
100644 → 0
View file @
2ed09f42
server
{
listen
80
;
listen
[::]:
80
;
#domain name
server_name
drupal8
.
dev
;
#file document root. This has to match one of the volumes in docer-composer.yml
root
/
var
/
www
/
drupal8
;
# This is the full path to your index file
index
index
.
php
index
.
html
index
.
htm
;
## serve imagecache files directly or redirect to drupal if they do not exist.
location
~*
files
/
styles
{
access_log
off
;
expires
30
d
;
try_files
$
uri
@
drupal
;
}
## serve imagecache files directly or redirect to drupal if they do not exist.
location
~* ^.+.(
xsl
|
xml
)$ {
access_log
off
;
expires
1
d
;
try_files
$
uri
@
drupal
;
}
## Images and static content is treated different
location
~* ^.+.(
jpg
|
jpeg
|
gif
|
css
|
png
|
js
|
ico
|
xml
)$ {
access_log
off
;
expires
30
d
;
}
location
/ {
index
index
.
php
;
# This is cool because no php is touched for static content
try_files
$
uri
$
uri
/ @
rewrite
;
expires
max
;
}
location
@
drupal
{
rewrite
^/(.*)$ /
index
.
php
?
q
=$
1
last
;
}
location
@
rewrite
{
# Some modules enforce no slash (/) at the end of the URL
# Else this rewrite block wouldn't be needed (GlobalRedirect)
rewrite
^/(.*)$ /
index
.
php
?
q
=$
1
;
}
location
~ .
php
$ {
fastcgi_pass
php
-
upstream
;
fastcgi_index
index
.
php
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
include
fastcgi_params
;
}
}
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