diff --git a/www/g1billet.conf b/www/g1billet.conf deleted file mode 100644 index ea1a92e..0000000 --- a/www/g1billet.conf +++ /dev/null @@ -1,28 +0,0 @@ -server { - listen _PORT_; - listen [::]:_PORT_; - - server_name _MY_NODE_NAME_ localhost 127.0.0.1; - - index index.php index.html; - root /var/www/g1billet; - - # set expiration of assets to MAX for caching - location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ { - expires max; - log_not_found off; - } - - # php parsing - location ~ \.php$ { - include fastcgi_params; - fastcgi_pass unix:/var/run/php/php_PHPVERSION_-fpm.sock; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $request_filename; - } - - error_log /var/log/nginx/g1billet_error.log; - access_log /var/log/nginx/g1billet_access.log; - - -} diff --git a/www/loveland.conf b/www/loveland.conf index 9413039..4920773 100644 --- a/www/loveland.conf +++ b/www/loveland.conf @@ -5,7 +5,10 @@ server { root /var/www/loveland/_APPLI_; - server_name _MY_NODE_NAME_; + server_name _MY_NODE_NAME_ localhost 127.0.0.1; + + error_log /var/log/nginx/_APPLI_.error.log; + access_log /var/log/nginx/_APPLI_.access.log; # This section can be copied into an existing default setup location / { diff --git a/www/rompr.conf b/www/rompr.conf deleted file mode 100644 index 08d664f..0000000 --- a/www/rompr.conf +++ /dev/null @@ -1,44 +0,0 @@ -server { - - listen 80 default_server; - listen [::]:80 default_server; - - root /var/www/rompr; - index index.php index.html index.htm; - - server_name copylaradio; - - # This section can be copied into an existing default setup - location / { - allow all; - index index.php; - location ~ \.php { - try_files $uri index.php =404; - fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $request_filename; - include /etc/nginx/fastcgi_params; - fastcgi_read_timeout 1800; - } - error_page 404 = /404.php; - try_files $uri $uri/ =404; - location ~ /albumart/* { - expires -1s; - } - } - -# IPFS GATEWAY PROXY - location /ipfs { - proxy_pass http://127.0.0.1:8080; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-For $remote_addr; - } - -location /ipns { - proxy_pass http://127.0.0.1:8080; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-For $remote_addr; -} - -} - diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index 3e49cac..1e945b0 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -75,7 +75,7 @@ do [[ ! $isMyFriend ]] && echo "WARNING! $count IS NOT my SSB Friend !!! Check $ssbID" # TODO Send sbotc message? # TODO: PROD ACTIVATE # && ipfs swarm disconnect $peer && ipfs bootstrap rm $peer ## TODO: Use fail2ban if same node continue entering our swarm... - + echo "=============================================================" count=$((count+1)) done