TechnicPack / TechnicSolder

PHP web app that brings differential updates to the Technic Launcher and Technic Platform
https://docs.solder.io/
Other
169 stars 167 forks source link

Private IP being populated in responses #677

Closed Destarianon closed 3 years ago

Destarianon commented 5 years ago

Operating System and version: Ubuntu 18.04 PHP version: 5.6

Composer version: 1.9.0

Server type: Nginx Type of database: Sqlites

Type of hosting: Dedicated

Link to the affected install's public url: solder.kerr.network (only /api/ is available to the internet at the moment)


I am running into an issue where all of the asset urls for things like css and images are being sent as the local private IP of the box. This means everything works fine locally but externally the app has large content loading issues. I have changed the url in app.php to reflect the public fqdn of the server with no changes. The issue is also affecting the API where urls to the default image resources for a pack have a private IP address in them.

Pyker commented 3 years ago

Closing this since it's likely no longer a problem. Feel free to reopen if it's still a problem.