مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
well obviously nginx can only happen after the app has been cloned
هذا الالتزام موجود في:
@@ -44,14 +44,6 @@ rabbitmqctl add_vhost /postal
|
|||||||
rabbitmqctl add_user postal p0stalpassw0rd
|
rabbitmqctl add_user postal p0stalpassw0rd
|
||||||
rabbitmqctl set_permissions -p /postal postal ".*" ".*" ".*"
|
rabbitmqctl set_permissions -p /postal postal ".*" ".*" ".*"
|
||||||
|
|
||||||
#
|
|
||||||
# nginx
|
|
||||||
#
|
|
||||||
cp /opt/postal/app/resource/nginx.cfg /etc/nginx/sites-available/default
|
|
||||||
mkdir /etc/nginx/ssl/
|
|
||||||
openssl req -x509 -newkey rsa:4096 -keyout /etc/nginx/ssl/postal.key -out /etc/nginx/ssl/postal.crt -days 365 -nodes -subj "/C=GB/ST=Example/L=Example/O=Example/CN=example.com"
|
|
||||||
service nginx reload
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# User
|
# User
|
||||||
#
|
#
|
||||||
@@ -67,6 +59,14 @@ postal initialize-config
|
|||||||
postal initialize
|
postal initialize
|
||||||
postal start
|
postal start
|
||||||
|
|
||||||
|
#
|
||||||
|
# nginx
|
||||||
|
#
|
||||||
|
cp /opt/postal/app/resource/nginx.cfg /etc/nginx/sites-available/default
|
||||||
|
mkdir /etc/nginx/ssl/
|
||||||
|
openssl req -x509 -newkey rsa:4096 -keyout /etc/nginx/ssl/postal.key -out /etc/nginx/ssl/postal.crt -days 365 -nodes -subj "/C=GB/ST=Example/L=Example/O=Example/CN=example.com"
|
||||||
|
service nginx reload
|
||||||
|
|
||||||
#
|
#
|
||||||
# All done
|
# All done
|
||||||
#
|
#
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم