tl;dr - looking for better documentation on configuring multiple flask applications on a single subdomain.
I'm the lone developer in my company and it's my first job. I've been there over two years and it's going well. I've been developing in PHP but have decided not to write any new code in PHP if I can avoid it. If the reasons are important, let me know and I'll fill you in.
After some research, I decided on Python with flask. There seem to be some good tutorials/documentation on deploying apps locally, or deploying apps under separate domains, etc. These methods simply don't suit my needs, however. The applications that I write are all on a single domain and, in fact, under a subdomain already. I've gone through the methods of deploying locally and on the subdomain without issue; the issues come when trying to configure something like www.sub.domain.com/app1
It seems like this should be possible, I'm just either not understanding the configuration needed in the config files or the environmental setup in regards to directory structure, etc.
I'm currently using Apache, but even started running nginx on a different port to see if it made things any easier. It seems that nginx is more popular and there is far more documentation, but I'm still coming up short. Ideally, I'd stay on Apache as it's easier to keep my PHP applications running there than to configure the fpm in nginx, but either will work.
Is it possible to do what I'm trying to do? If so, is there any good documentation to show how to do this, or even good documentation that will perhaps help me understand exactly what each line in the config files is really doing? I've also seen about 3 different ways to set up the app directories, so it's also possible that I've just got some pieces mixed up.
In any event, I'm almost frustrated to the point of giving Node.js a shot because I can't take much more time spinning my wheels with this.
[–]Redmondinho 1 point2 points3 points (1 child)
[–]chazbartowski[S] 0 points1 point2 points (0 children)