Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
francois
slapos
Commits
0b2f865e
Commit
0b2f865e
authored
Aug 26, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Profile tmp environnment for nginx.
parent
099ee5ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
software/backupserver/instance-pullrdiffbackup.cfg.in
software/backupserver/instance-pullrdiffbackup.cfg.in
+1
-0
software/backupserver/software.cfg
software/backupserver/software.cfg
+2
-2
software/backupserver/template-nginx.cfg.in
software/backupserver/template-nginx.cfg.in
+9
-0
No files found.
software/backupserver/instance-pullrdiffbackup.cfg.in
View file @
0b2f865e
...
...
@@ -14,6 +14,7 @@ srv = $${buildout:directory}/srv
var = $${buildout:directory}/var
run = $${:var}/run
log = $${:var}/log
varnginx = $${:var}/nginx
# scripts = $${:etc}/run
services = $${:etc}/service
cron-entries = $${:etc}/cron.d
...
...
software/backupserver/software.cfg
View file @
0b2f865e
...
...
@@ -182,7 +182,7 @@ mode = 0644
[template-nginx-configuration]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/template-nginx.cfg.in
md5sum =
1cf80a510a9ba9f6d9f12e2ce828615e
md5sum =
adf823148b6643ab82083caabc52f15d
output = ${buildout:directory}/template-nginx.cfg.in
mode = 0644
...
...
@@ -234,7 +234,7 @@ mode = 0644
[template-pullrdiffbackup]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-pullrdiffbackup.cfg.in
md5sum =
935ee60f0454ab50df74d0bcc3364d37
md5sum =
3b1974f3a344fc1c1d86ec4ec44ae2ff
output = ${buildout:directory}/template-pullrdiffbackup.cfg
mode = 0644
...
...
software/backupserver/template-nginx.cfg.in
View file @
0b2f865e
...
...
@@ -8,6 +8,8 @@ events {
# multi_accept on;
}
error_log $${nginx-configuration:error_log};
http {
##
...
...
@@ -55,6 +57,13 @@ server {
ssl_certificate $${nginx-configuration:ssl_crt};
ssl_certificate_key $${nginx-configuration:ssl_key};
fastcgi_temp_path $${directory:varnginx} 1 2;
uwsgi_temp_path $${directory:varnginx} 1 2;
scgi_temp_path $${directory:varnginx} 1 2;
client_body_temp_path $${directory:varnginx} 1 2;
proxy_temp_path $${directory:varnginx} 1 2;
## Only allow GET and HEAD request methods
if ($request_method !~ ^(GET|HEAD)$ ) {
return 444;
...
...
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