This repository has been archived by the owner on Aug 20, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c40760e
commit c752360
Showing
4 changed files
with
34 additions
and
4 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
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,31 @@ | ||
# Do not use on Laravel Sail | ||
|
||
upstream mediadb-socket { | ||
server localhost:6001; | ||
} | ||
|
||
server { | ||
listen 6002 ssl http2; | ||
listen [::]:6002 ssl http2; | ||
server_name socket.mediadb.test; | ||
set $base /srv/http; | ||
root $base/html; | ||
|
||
# ssl | ||
ssl_certificate ssl/cert.pem; | ||
ssl_certificate_key ssl/key.pem; | ||
|
||
# security | ||
include config/security.conf; | ||
|
||
# index.php | ||
index index.html; | ||
|
||
location / { | ||
proxy_pass http://mediadb-socket; | ||
include config/proxy.conf; | ||
} | ||
|
||
# additional config | ||
include config/general.conf; | ||
} |
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