[ASTPPCOM-514] ASTPP 4.0 listen on port 443 instead of 8089 now? Created: 06/Jun/19  Updated: 27/Oct/19  Resolved: 27/Oct/19

Status: Done
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature
Reporter: watoan Assignee: Samir Doshi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

https://github.com/iNextrix/ASTPP/blob/v4.0/web_interface/nginx/deb_astpp.conf
It is set to 443 now instead of 8089

But in https://raw.githubusercontent.com/iNextrix/ASTPP/v4.0/install.sh
it still pointing to 8089 for astpp-config.conf

This will caused error when someone install using the script install.sh above



 Comments   
Comment by (Community) DN (Inactive) [ 08/Jun/19 ]

[~watoan] Installation script is replacing host and port correctly as per the data fed while installation.

Comment by watoan [ 10/Jun/19 ]

(Community) DN
Am I missed anything?
In the script https://raw.githubusercontent.com/iNextrix/ASTPP/v4.0/install.sh
Line 269 - it just copy the astpp-config.conf from source to ${ASTPPDIR} which is /var/lib/astpp/
Line 281 - it just copy the deb_astpp.conf from source to /etc/nginx/conf.d/
But the original file https://github.com/iNextrix/ASTPP/blob/v4.0/web_interface/nginx/deb_astpp.conf, it is set to listen on port 443
Line 324 - it just replace the hostname for astpp-config.conf
But the file https://github.com/iNextrix/ASTPP/blob/v4.0/config/astpp-config.conf, the base_url set to port 8089

The port config are not match on them, all messed up when I open the web portal after installation, I have to manually change the port settings either in astpp-config.conf or deb_astpp.conf to make it match, then the web portal image are showing correctly.
Please share if I done anything wrongly, thanks.

Comment by hemdip [ 13/Jun/19 ]

[~watoan]

> But the file https://github.com/iNextrix/ASTPP/blob/v4.0/config/astpp-config.conf, the base_url set to port 8089
Yea you right but as (Community) DN mention it replace patch based on installation script and it work without any manual modification into file, I have setup in cent & debian both and not face such issue.

Generated at Sat Feb 10 07:17:51 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.