mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Start work on server
This commit is contained in:
@@ -1,2 +1,24 @@
|
||||
[build]
|
||||
filehash = false
|
||||
|
||||
# # Proxy /api/* to backend
|
||||
# [[proxy]]
|
||||
# backend = "http://localhost:8081"
|
||||
# rewrite = "/api/"
|
||||
|
||||
# # Proxy /auth/* to backend
|
||||
# [[proxy]]
|
||||
# backend = "http://localhost:8081"
|
||||
# rewrite = "/auth/"
|
||||
|
||||
[[proxy]]
|
||||
backend = "http://localhost:3000/api" # Address to proxy requests to
|
||||
# ws = false # Use WebSocket for this proxy
|
||||
# insecure = true # Disable certificate validation
|
||||
# no_system_proxy = false # Disable system proxy
|
||||
# rewrite = "" # Strip the given prefix off paths
|
||||
# no_redirect = false # Disable following redirects of proxy responses
|
||||
|
||||
|
||||
[[proxy]]
|
||||
backend = "http://localhost:3000/auth"
|
||||
|
||||
Reference in New Issue
Block a user