This commit is contained in:
2023-12-05 15:54:22 +01:00
commit 6b1a2c19e2
2 changed files with 43 additions and 0 deletions

33
nginx.conf Normal file
View File

@@ -0,0 +1,33 @@
user nginx;
worker_processes auto;
error_log /docker.stdout notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /docker.stdout main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
proxy_intercept_errors on;
fastcgi_intercept_errors on;
include /etc/nginx/conf.d/*.conf;
}

10
podman-compose.yml Normal file
View File

@@ -0,0 +1,10 @@
version: 1.0
services:
nginx-php:
image: localhost/php-nginx-kmmportal:latest
container_name: froxlor-nginx-php
restart: always
ports:
- "8080:8080"
volume:
- /home/do/git/php/Froxlor:/app