mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-07 18:53:01 -04:00
Docker Changes
- Add "release" and "release-aio" configurations based on alma linux - Add nginx example and entrypoint script - Dockerfile changes - "p" was not removed
This commit is contained in:
parent
e655519b6b
commit
7f08eff2a2
4 changed files with 157 additions and 10 deletions
19
p/nginx.conf.example
Normal file
19
p/nginx.conf.example
Normal file
|
@ -0,0 +1,19 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name www.SERVERNAME;
|
||||
return 301 $scheme://SERVERNAME$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name SERVERNAME;
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-NginX-Proxy true;
|
||||
proxy_pass http://localhost:3000;
|
||||
proxy_ssl_session_reuse off;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue