-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add installation docs from the Fedora package
Source: https://src.fedoraproject.org/rpms/noggin/tree/main Thanks to Neal on this one. Fixes: #1289 #332 Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
- Loading branch information
Showing
6 changed files
with
156 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#server { | ||
#listen 80; | ||
#server_name localhost.localdomain; | ||
#return 301 https://localhost.localdomain$request_uri; | ||
#} | ||
|
||
#server { | ||
#listen 443 ssl; | ||
|
||
#server_name localhost.localdomain; | ||
|
||
#access_log /var/log/nginx/noggin.access.log; | ||
#error_log /var/log/nginx/noggin.error.log; | ||
|
||
#ssl_certificate /etc/pki/tls/....crt | ||
#ssl_certificate_key /etc/pki/tls/....key | ||
|
||
#location @noggin { | ||
#proxy_set_header Host $http_host; | ||
#proxy_set_header X-Real-IP $remote_addr; | ||
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
#proxy_set_header X-Forwarded-Proto $scheme; | ||
#proxy_pass http://127.0.0.1:8000; | ||
#} | ||
|
||
#location / { | ||
#try_files $uri @noggin; | ||
#} | ||
|
||
#} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=Noggin Accounts Management Portal | ||
After=network-online.target | ||
Wants=network-online.target | ||
|
||
[Service] | ||
EnvironmentFile=/etc/sysconfig/noggin | ||
ExecStart=sh -c "gunicorn-3 ${GUNICORN_OPTS} -w ${GUNICORN_WORKERS} --env NOGGIN_CONFIG_PATH=/etc/noggin/noggin.cfg --access-logfile /var/log/noggin/access.log --error-logfile /var/log/noggin/error.log --bind tcp://127.0.0.1:8000 'noggin.app:create_app()'" | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GUNICORN_OPTS="" | ||
GUNICORN_WORKERS="3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters