1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

docker: Switch to nginx in docker image (#2721)

Co-authored-by: Yaman Qalieh <ybq987@gmail.com>
This commit is contained in:
Dag
2022-05-12 02:19:25 +02:00
committed by GitHub
parent fcc3707210
commit 829fc6cca2
4 changed files with 34 additions and 18 deletions

17
config/nginx.conf Normal file
View File

@@ -0,0 +1,17 @@
server {
listen 80 default_server;
root /app;
access_log /var/log/nginx/rssbridge.access.log;
error_log /var/log/nginx/rssbridge.error.log;
index index.php;
location ~ /(\.|vendor|tests) {
deny all;
return 403; # Forbidden
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass 127.0.0.1:9000;
}
}