Open knychtell opened 3 days ago
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Debug mode
Describe the bug
I am able to access the service from the intranet through 192.168.x.x
However, I am unable to access it from outside the intranet.
/var/www/html/snipe-it/.env APP_URL=192.168.30.102 APP_TRUSTED_PROXIES=REMOTE_ADDR
/etc/ngix/conf.d/snipeit.conf server_name 192.168.30.102
Cloudflare (free acct) the domain is already added
[snipeit.domain.com]
A record is also created under DNS and points to the router's Public IP.
If I change the config files above to https://snipeit.domain.com
Service is no longer available from internal network and external.
Reproduction steps
1.update .env APP_URL =snipeit.domain.com 2.update snipeit.conf server_name snipeit.domain.com
Expected behavior
The url https://snipeit.domain.com is accessible on both intranet and public to specific IP
Screenshots
No response
Snipe-IT Version
6.4.2
Operating System
Ubuntu 22.0.4 lts
Web Server
Nginx
PHP Version
8
Operating System
No response
Browser
Chome, firefox
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response