khzg / littlelink-admin

Littlelink admin is an admin panel for littlelink that provides you a website similar linktree.
GNU Affero General Public License v3.0
91 stars 17 forks source link

Question / Issues with Deployment #1

Closed dinosaw closed 3 years ago

dinosaw commented 3 years ago

Hello,

I have succesfully installed the application, and am wanting to host it on a production site as opposed to a local host. When I run the serve command, I get the following:

# php artisan serve
Starting Laravel development server: http://127.0.0.1:8000
[Fri Apr 16 18:15:13 2021] PHP 7.4.14 Development Server (http://127.0.0.1:8000) started

Obviously that is a local address. So typically in my other Laravel or Node projects that do this, if an application specifies a non-standard Apache port, I add the following in the Apache configuration file, being sure to replace the local address with the public IP and the port with whatever port the application uses:

ProxyPass / http://public.ip.address:8000/
ProxyPassReverse / http://public.ip.address:8000/

However when I do this, I'm still receiving a 503 when attempting to navigate to the page. Do you mind elaborating on how to successfully provision this on a public facing web server? Any help would be great!

dinosaw commented 3 years ago

Apologies. Looks like I can simply run:

php artisan serve --host ip.address.here

And not even worry about the ProxyPass configuration. Closing.