Permalink
Browse files

Create socket in /run/user/33 rather than /run. Closes #48

  • Loading branch information...
1 parent b5e3ae3 commit 822ebea8dabf1a147ef18e19957c66f8437e3992 @Daniel15 committed Nov 21, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 Daniel15.Web/nginx.conf
  2. +1 −1 Daniel15.Web/supervisord.conf
@@ -58,7 +58,7 @@ server {
}
location @aspnet {
- proxy_pass http://unix:/run/aspnet/dan-live.sock;
+ proxy_pass http://unix:/run/user/33/dan-live.sock;
proxy_set_header Host $host;
# Caching parameters
@@ -1,5 +1,5 @@
[program:dan]
-command=mono /var/www/dan.cx/live/site/Daniel15.Web.exe --server.urls http://unix:/run/aspnet/dan-live.sock
+command=mono /var/www/dan.cx/live/site/Daniel15.Web.exe --server.urls http://unix:/run/user/33/dan-live.sock
environment=ASPNETCORE_ENVIRONMENT=Production,HOME=/var/www/
user=www-data
directory=/var/www/dan.cx/live/site/

0 comments on commit 822ebea

Please sign in to comment.