Terminé

configure apache to deploy a site developed in flask

We developed a website in flask. To implement ssl over it, we want apache to serve the flask site. The specific task is to connect both (apache and flask). We configured this, but right now is not working:

stewie@COL_stewie:/etc/apache2$ ls

[login to view URL] conf-available conf-enabled envvars magic mods-available mods-enabled [login to view URL] sites-available sites-enabled

stewie@COL_stewie:/etc/apache2$ cd sites-available/

stewie@COL_stewie:/etc/apache2/sites-available$ ls

[login to view URL] [login to view URL] [login to view URL] [login to view URL]

stewie@COL_stewie:/etc/apache2/sites-available$ more [login to view URL]

<VirtualHost *:80>

# Add machine's IP address (use ifconfig command)

ServerName 172.###.###.###

# Give an alias to to start your website url with

WSGIScriptAlias /coach /root/python_projects/respondedor/[login to view URL]

<Directory /root/python_projects/respondedor/>

# set permissions as per [login to view URL] file

Options FollowSymLinks

AllowOverride None

Require all granted

Allow from all

</Directory>

ErrorLog ${APACHE_LOG_DIR}/[login to view URL]

LogLevel warn

CustomLog ${APACHE_LOG_DIR}/[login to view URL] combined

</VirtualHost>

stewie@COL_stewie:/etc/apache2/sites-available$ sudo more /root/python_projects/respondedor/[login to view URL]

[sudo] password for stewie:

#! /usr/bin/python3.7

import logging

import sys

[login to view URL](stream=[login to view URL])

[login to view URL](0, '/root/python_projects/respondedor/respondedor/')

from server import app as application

application.secret_key = 'M!sab3#######

Compétences : Python, Linux, Administration Système, Flask, Apache

en voir plus : flask apache centos, deploy flask app on apache windows, deploy python web app apache, deploy flask app on apache ubuntu, flask apache2 deploy, flask cgi apache, deploy dash on apache server, deploy flask with mod_wsgi, phpbb site developed, configure apache tomcat, configure apache etc, configure apache volume visitors, configure live streaming site, configure acajoom software site newsletter page, site developed google maps mark, configure apache server godaddy, configure apache service linux, banner exchange site developed, configure apache traffic load, yast configure apache

Concernant l'employeur :
( 0 commentaires ) Chile

Nº du projet : #26213480

Décerné à:

dslc

The method I use for serving a Flask application on a public site - whether using Apache or Nginx - is via a HTTP proxy. I see from your configuration file that you are using mod_wsgi instead. Would you be willing to t Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(8 Commentaires)
5.9

9 freelance font une offre moyenne de $132 pour ce travail

voidead

Hi, I have read your requirement and i am very familiar with apache web server to configure python flask app properly. I have been experienced as linux server administrator and worked from past more than 7 years. See Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(138 Commentaires)
5.8
android2014213

I can help you in installing flask based application. I have more than 9 years of experience as System Administrator.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(26 Commentaires)
4.9
smaanvi007

Hello! i will configure apache to deploy a site developed in flask I am expert in servers and having 6+ years of experience in the same profession. Kindly look my profile to know more about me. Ping me for further d Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(22 Commentaires)
4.3
barmex

Hello. I can setup your apache for flask. Knock to the chat for discussion. Kind regards, Alex.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(17 Commentaires)
3.9
parthchauhan4

Greetings, I found that you have an issue with your site while deploying your python site, I am a Certified Linux Admin with having 7 years of experience with Linux Admin profile. I am having a great experience wit Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(2 Commentaires)
2.1
bayir33909

Hello I just checked your description!! I am a senior developer. I can do it for you if you want. Let me discuss about this project if you want. I am ready to do it for you. I think its very easy project for me. So ju Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
tpogorov

hi, how are you? i am python developer. wherer did you register your nameserver? i have rich experience in developing django rest API, flask, vue.js, react.js. if you assign me your project, i will do my best. please c Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0
ankurmangal24

Hi, I am a Software Engineer. I have a good experience and knowledge of Python, Machine learning, DataScience, Flask, and many more. In addition to this, I am proficient in AWS, apache, server, Nginx, Docker, Ansible, Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0