why _?111git statuskubectl apply -n kube-system -f descheduler-cronjob.yaml
This commit is contained in:
36
apps/rompr/files/nginx_default
Normal file
36
apps/rompr/files/nginx_default
Normal file
@@ -0,0 +1,36 @@
|
||||
# Default server configuration
|
||||
#
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
root /app/rompr;
|
||||
|
||||
# Add index.php to the list if you are using PHP
|
||||
index index.php index.html index.htm;
|
||||
|
||||
server_name _;
|
||||
|
||||
client_max_body_size 256M;
|
||||
|
||||
# This section can be copied into an existing default setup
|
||||
location / {
|
||||
allow all;
|
||||
access_log off;
|
||||
index index.php;
|
||||
location ~ \.php {
|
||||
try_files $uri index.php =404;
|
||||
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
fastcgi_read_timeout 1800;
|
||||
}
|
||||
error_page 404 = /rompr/404.php;
|
||||
try_files $uri $uri/ =404;
|
||||
location ~ /albumart/* {
|
||||
expires -1s;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
8
apps/rompr/files/run-httpd
Normal file
8
apps/rompr/files/run-httpd
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
rm -f /var/run/nginx.pid
|
||||
mkdir -p /var/log/nginx
|
||||
set -e
|
||||
mkdir -p /rompr/albumart /rompr/prefs
|
||||
chown www-data:www-data -R /rompr/albumart /rompr/prefs
|
||||
/etc/init.d/php8.2-fpm restart
|
||||
exec /usr/sbin/nginx -g 'daemon off;'
|
||||
Reference in New Issue
Block a user