aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-03-29 22:09:16 +0900
committerjaseg <git@jaseg.net>2019-03-29 22:09:16 +0900
commitbf744eab9749ff9710d68f35a44821ef80d5c291 (patch)
treec1f47cb8e6b77738c31cc99ba3d293fceb595028
parent30da6478a624bfdeb835eb106ef34860cd7e7c60 (diff)
downloadinfra-bf744eab9749ff9710d68f35a44821ef80d5c291.tar.gz
infra-bf744eab9749ff9710d68f35a44821ef80d5c291.tar.bz2
infra-bf744eab9749ff9710d68f35a44821ef80d5c291.zip
Working on the design
-rw-r--r--nginx.conf2
-rw-r--r--playbook.yml6
-rw-r--r--uwsgi-gerboweb.ini1
3 files changed, 1 insertions, 8 deletions
diff --git a/nginx.conf b/nginx.conf
index c76a3db..6344904 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -65,7 +65,7 @@ http {
include /etc/nginx/default.d/*.conf;
location ^~ /static/ {
- root /var/lib/gerboweb/static;
+ root /var/lib/gerboweb;
}
location / {
diff --git a/playbook.yml b/playbook.yml
index 3789c21..9753df6 100644
--- a/playbook.yml
+++ b/playbook.yml
@@ -152,12 +152,6 @@
name: uwsgi-app@gerboweb.socket
enabled: yes
- - name: Enable and launch uwsgi systemd service
- systemd:
- name: uwsgi-app@gerboweb.service
- enabled: yes
- state: restarted
-
- name: Enable and launch job processor
systemd:
name: gerboweb-job-processor.service
diff --git a/uwsgi-gerboweb.ini b/uwsgi-gerboweb.ini
index 748af71..3c8addd 100644
--- a/uwsgi-gerboweb.ini
+++ b/uwsgi-gerboweb.ini
@@ -1,5 +1,4 @@
[uwsgi]
-chmod-socket = 660
master = True
cheap = True
idle = 600