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
Kwabena Antwi-Boasiako
slapos
Commits
981afc6a
Commit
981afc6a
authored
Jul 09, 2014
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nginx-push-stream: Improve nginx configuration to listen in ipv4 address also
parent
b2354aed
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
software/nginx-push-stream/instance-nginx.cfg.in
software/nginx-push-stream/instance-nginx.cfg.in
+1
-0
software/nginx-push-stream/software.cfg
software/nginx-push-stream/software.cfg
+2
-2
software/nginx-push-stream/template-nginx.cfg.in
software/nginx-push-stream/template-nginx.cfg.in
+1
-0
No files found.
software/nginx-push-stream/instance-nginx.cfg.in
View file @
981afc6a
...
@@ -33,6 +33,7 @@ mode = 0600
...
@@ -33,6 +33,7 @@ mode = 0600
access_log = $${directory:log}/nginx-access.log
access_log = $${directory:log}/nginx-access.log
error_log = $${directory:log}/nginx-error.log
error_log = $${directory:log}/nginx-error.log
ip = $${slap-network-information:global-ipv6}
ip = $${slap-network-information:global-ipv6}
local_ip = $${slap-network-information:local-ipv4}
port = 9443
port = 9443
publisher_push_stream_store_messages = off
publisher_push_stream_store_messages = off
publisher_client_max_body_size = 16k
publisher_client_max_body_size = 16k
...
...
software/nginx-push-stream/software.cfg
View file @
981afc6a
...
@@ -30,14 +30,14 @@ mode = 0644
...
@@ -30,14 +30,14 @@ mode = 0644
[template-nginx-configuration]
[template-nginx-configuration]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/template-nginx.cfg.in
url = ${:_profile_base_location_}/template-nginx.cfg.in
md5sum =
da3012177cbe913ffb47723367d9de54
md5sum =
58cd6a59089ab93bb3ec0f5d12888500
output = ${buildout:directory}/template-nginx.cfg.in
output = ${buildout:directory}/template-nginx.cfg.in
mode = 0644
mode = 0644
[template-nginx]
[template-nginx]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-nginx.cfg.in
url = ${:_profile_base_location_}/instance-nginx.cfg.in
md5sum =
12e6063eed46aa7f02f976f18da96e8a
md5sum =
478085d0abb0ffc0b259c038bddae205
output = ${buildout:directory}/instance-nginx.cfg.in
output = ${buildout:directory}/instance-nginx.cfg.in
mode = 0644
mode = 0644
...
...
software/nginx-push-stream/template-nginx.cfg.in
View file @
981afc6a
...
@@ -56,6 +56,7 @@ http {
...
@@ -56,6 +56,7 @@ http {
server {
server {
listen [$${nginx-configuration:ip}]:$${nginx-configuration:port};
listen [$${nginx-configuration:ip}]:$${nginx-configuration:port};
listen $${nginx-configuration:local_ip}:$${nginx-configuration:port};
fastcgi_temp_path $${directory:varnginx} 1 2;
fastcgi_temp_path $${directory:varnginx} 1 2;
uwsgi_temp_path $${directory:varnginx} 1 2;
uwsgi_temp_path $${directory:varnginx} 1 2;
...
...
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