mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 02:10:39 +01:00
Removing conf till I can explain futher.
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name pinry.bythewood.me;
|
|
||||||
|
|
||||||
access_log /srv/www/pinry/logs/access.log;
|
|
||||||
error_log /srv/www/pinry/logs/error.log;
|
|
||||||
|
|
||||||
location /static {
|
|
||||||
alias /srv/www/pinry/static;
|
|
||||||
expires max;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /media {
|
|
||||||
alias /srv/www/pinry/media;
|
|
||||||
expires max;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
|
||||||
include uwsgi_params;
|
|
||||||
uwsgi_pass unix:/srv/www/pinry/uwsgi/socket;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
[uwsgi]
|
|
||||||
projectname = pinry
|
|
||||||
base = /srv/www/%(projectname)
|
|
||||||
|
|
||||||
protocol = uwsgi
|
|
||||||
app = wsgi
|
|
||||||
plugins = http,python
|
|
||||||
home = %(base)
|
|
||||||
pythonpath = %(base)
|
|
||||||
module = %(app)
|
|
||||||
socket = %(base)/uwsgi/socket
|
|
||||||
logto = %(base)/logs/uwsgi.log
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user