mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Added makefile
This commit is contained in:
@ -5,8 +5,8 @@
|
||||
# sudo /etc/init.d/cowyo start
|
||||
|
||||
dir="CUR_DIR"
|
||||
user="USER"
|
||||
cmd="./cowyo EXTERNAL_ADDRESS"
|
||||
user="USERCUR"
|
||||
cmd="./cowyo EXT_ADDRESS"
|
||||
|
||||
name="cowyo"
|
||||
pid_file="/var/run/$name.pid"
|
||||
|
@ -5,7 +5,7 @@ server {
|
||||
access_log /etc/nginx/logs/access-cowyo.log;
|
||||
error_log /etc/nginx/logs/error-cowyo.log info;
|
||||
root CUR_DIR;
|
||||
server_name EXTERNAL_ADDRESS;
|
||||
server_name ADDRESS;
|
||||
|
||||
# Media: images, icons, video, audio, HTC
|
||||
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
|
||||
|
Reference in New Issue
Block a user