Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frappe-bench
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
frappe-bench
Commits
a0ed5015
Commit
a0ed5015
authored
Oct 16, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added nginx config
parent
87b1dd34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
Makefile
Makefile
+28
-1
No files found.
Makefile
View file @
a0ed5015
...
@@ -39,7 +39,34 @@ all:
...
@@ -39,7 +39,34 @@ all:
rm
-rf
frappe-home
rm
-rf
frappe-home
postinstall
:
postinstall
:
nginx-conf
cd
/srv/frappe/bench
&&
bench setup nginx
cd
/srv/frappe/bench
&&
bench setup nginx
@
echo
"
$$
NGINX_CONF"
>
/etc/nginx/nginx.conf
cd
/srv/frappe/bench
&&
bench setup supervisor
cd
/srv/frappe/bench
&&
bench setup supervisor
ln
-s
/srv/frappe/bench/config/supervisor.conf /etc/supervisord.d/erpnext.conf
ln
-s
/srv/frappe/bench/config/supervisor.conf /etc/supervisord.d/erpnext.conf
nginx-conf
:
define
NGINX_CONF
#user nobody;
worker_processes
1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events
{
worker_connections
1024;
}
http
{
include
mime.types;
default_type
application/octet-stream;
include
/srv/frappe/bench/config/nginx.conf;
}
endef
export
NGINX_CONF
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