Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eterban
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eterban
Commits
eca023ed
Commit
eca023ed
authored
Jul 22, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
web: configure versioned PHP-FPM socket
parent
e5e6b24a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
eterban.conf
ban-server/etc/nginx/sites-enabled.d/eterban.conf
+1
-1
eterban.spec
eterban.spec
+2
-1
No files found.
ban-server/etc/nginx/sites-enabled.d/eterban.conf
View file @
eca023ed
...
@@ -14,7 +14,7 @@ server {
...
@@ -14,7 +14,7 @@ server {
location
~* \.
php
$ {
location
~* \.
php
$ {
#try_files $uri = 404;
#try_files $uri = 404;
fastcgi_split_path_info
^(.+\.
php
)(/.+)$;
fastcgi_split_path_info
^(.+\.
php
)(/.+)$;
fastcgi_pass
unix
:
/
run
/
php
-
fpm
/
php
-
fpm
.
sock
;
fastcgi_pass
unix
:
@
PHP_FPM_SOCKET
@
;
fastcgi_index
index
.
php
;
fastcgi_index
index
.
php
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
include
fastcgi_params
;
include
fastcgi_params
;
...
...
eterban.spec
View file @
eca023ed
...
@@ -47,7 +47,7 @@ Group: Development/Other
...
@@ -47,7 +47,7 @@ Group: Development/Other
Requires: eterban-common = %EVR
Requires: eterban-common = %EVR
Requires: nginx
Requires: nginx
Requires: %defphp-redis
Requires: %defphp-redis
Requires: %defphp-fpm
Requires: %defphp-fpm
-fcgi
%description web
%description web
Etersoft ban service.
Etersoft ban service.
...
@@ -89,6 +89,7 @@ install -m 644 gateway/etc/cron.hourly/* %buildroot/etc/cron.hourly/
...
@@ -89,6 +89,7 @@ install -m 644 gateway/etc/cron.hourly/* %buildroot/etc/cron.hourly/
install -m 644 ban-server/data/www/* %buildroot%webserver_htdocsdir/%name/
install -m 644 ban-server/data/www/* %buildroot%webserver_htdocsdir/%name/
install -m 644 ban-server/etc/nginx/sites-enabled.d/* %buildroot/etc/nginx/sites-enabled.d/
install -m 644 ban-server/etc/nginx/sites-enabled.d/* %buildroot/etc/nginx/sites-enabled.d/
sed -i 's|@PHP_FPM_SOCKET@|/var/run/php%php_defver-fpm/php%php_defver-fpm.sock|' %buildroot/etc/nginx/sites-enabled.d/eterban.conf
install -m 644 prod-server/etc/fail2ban/action.d/* %buildroot/etc/fail2ban/action.d/
install -m 644 prod-server/etc/fail2ban/action.d/* %buildroot/etc/fail2ban/action.d/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment