mantis 8470: add constant PrivURL. Thanks Ai Austin

0.9.1.0-post-fixes
UbitUmarov 2019-08-27 22:32:26 +01:00
parent 60fa28740a
commit 7a82f9ef9f
2 changed files with 20 additions and 13 deletions

View File

@ -55,9 +55,16 @@
;# {BaseURL} {} {BaseURL} {"http://${Const|BaseHostname}} "http://${Const|BaseHostname}" ;# {BaseURL} {} {BaseURL} {"http://${Const|BaseHostname}} "http://${Const|BaseHostname}"
BaseURL = http://${Const|BaseHostname} BaseURL = http://${Const|BaseHostname}
; If you run a grid, several services should not be availble to world, access to them should be blocked on firewall
; PrivatePort should closed at the firewall.
;# {PublicPort} {} {PublicPort} {8002 9000} "8002" ;# {PublicPort} {} {PublicPort} {8002 9000} "8002"
PublicPort = "8002" PublicPort = "8002"
; you can also have them on a diferent url / IP
;# {PrivURL} {} {PrivURL} {"http://${Const|BaseURL}} "${Const|BaseURL}"
PrivURL = ${Const|BaseURL}
;grid default private port 8003, not used in standalone ;grid default private port 8003, not used in standalone
;# {PrivatePort} {} {PrivatePort} {8003} "8003" ;# {PrivatePort} {} {PrivatePort} {8003} "8003"
; port to access private grid services. ; port to access private grid services.

View File

@ -76,13 +76,13 @@
; ;
; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses. ; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses.
; ;
AssetServerURI = "${Const|BaseURL}:${Const|PrivatePort}" AssetServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[InventoryService] [InventoryService]
; ;
; Change this to your grid-wide inventory server ; Change this to your grid-wide inventory server
; ;
InventoryServerURI = "${Const|BaseURL}:${Const|PrivatePort}" InventoryServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
;MaxRetries = 0 ;MaxRetries = 0
[GridInfo] [GridInfo]
@ -95,7 +95,7 @@
; ;
; Change this to your grid-wide grid server ; Change this to your grid-wide grid server
; ;
GridServerURI = "${Const|BaseURL}:${Const|PrivatePort}" GridServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
;AllowHypergridMapSearch = true ;AllowHypergridMapSearch = true
;; Directory for map tile images of linked regions ;; Directory for map tile images of linked regions
@ -115,7 +115,7 @@
;LocalServiceModule = "OpenSim.Services.Connectors.dll:EstateDataRemoteConnector" ;LocalServiceModule = "OpenSim.Services.Connectors.dll:EstateDataRemoteConnector"
[EstateService] [EstateService]
EstateServerURI = "${Const|BaseURL}:${Const|PrivatePort}" EstateServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[Messaging] [Messaging]
; === HG ONLY === ; === HG ONLY ===
@ -128,43 +128,43 @@
; ;
; Change this to your grid-wide grid server ; Change this to your grid-wide grid server
; ;
AvatarServerURI = "${Const|BaseURL}:${Const|PrivatePort}" AvatarServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[AgentPreferencesService] [AgentPreferencesService]
; ;
; Change this to your grid-wide avatar prefs server ; Change this to your grid-wide avatar prefs server
; ;
AgentPreferencesServerURI = "${Const|BaseURL}:${Const|PrivatePort}" AgentPreferencesServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[PresenceService] [PresenceService]
; ;
; Change this to your grid-wide presence server ; Change this to your grid-wide presence server
; ;
PresenceServerURI = "${Const|BaseURL}:${Const|PrivatePort}" PresenceServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[UserAccountService] [UserAccountService]
; ;
; Change this to your grid-wide user accounts server ; Change this to your grid-wide user accounts server
; ;
UserAccountServerURI = "${Const|BaseURL}:${Const|PrivatePort}" UserAccountServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[GridUserService] [GridUserService]
; ;
; Change this to your grid-wide user accounts server ; Change this to your grid-wide user accounts server
; ;
GridUserServerURI = "${Const|BaseURL}:${Const|PrivatePort}" GridUserServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[AuthenticationService] [AuthenticationService]
; ;
; Change this to your grid-wide authentication server ; Change this to your grid-wide authentication server
; ;
AuthenticationServerURI = "${Const|BaseURL}:${Const|PrivatePort}" AuthenticationServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[FriendsService] [FriendsService]
; ;
; Change this to your grid-wide friends server ; Change this to your grid-wide friends server
; ;
FriendsServerURI = "${Const|BaseURL}:${Const|PrivatePort}" FriendsServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[HGInventoryAccessModule] [HGInventoryAccessModule]
; ;
@ -223,7 +223,7 @@
UserAgentServerURI = "${Const|BaseURL}:${Const|PublicPort}" UserAgentServerURI = "${Const|BaseURL}:${Const|PublicPort}"
[MapImageService] [MapImageService]
MapImageServerURI = "${Const|BaseURL}:${Const|PrivatePort}" MapImageServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
[AuthorizationService] [AuthorizationService]
; If you have regions with access restrictions ; If you have regions with access restrictions
@ -244,4 +244,4 @@
;; SimulatorCapability = "00000000-0000-0000-0000-000000000000" ;; SimulatorCapability = "00000000-0000-0000-0000-000000000000"
[MuteListService] [MuteListService]
MuteListServerURI = "${Const|BaseURL}:${Const|PrivatePort}" MuteListServerURI = "${Const|PrivURL}:${Const|PrivatePort}"