diff --git a/www/g1billet.conf b/www/g1billet.conf new file mode 100644 index 0000000..6aadd1d --- /dev/null +++ b/www/g1billet.conf @@ -0,0 +1,26 @@ +server { + listen 9980; + server_name rock64.p2p.legal g1sms.local 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/php7.3-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/g1billet/code_sms.php b/www/g1billet/code_sms.php new file mode 100644 index 0000000..84548e8 --- /dev/null +++ b/www/g1billet/code_sms.php @@ -0,0 +1,17 @@ + + diff --git a/www/g1billet/test.php b/www/g1billet/test.php new file mode 100644 index 0000000..854ea74 --- /dev/null +++ b/www/g1billet/test.php @@ -0,0 +1,5 @@ + + diff --git a/www/g1billet/zen_sms.php b/www/g1billet/zen_sms.php new file mode 100644 index 0000000..a7c0576 --- /dev/null +++ b/www/g1billet/zen_sms.php @@ -0,0 +1,12 @@ + + diff --git a/www/rompr.conf b/www/rompr.conf new file mode 100644 index 0000000..aa1ec8d --- /dev/null +++ b/www/rompr.conf @@ -0,0 +1,38 @@ +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; + } + +} +