Answer the question
In order to leave comments, you need to log in
Why does ProxyPass return 503?
Hello! I have a goal to upload an ASP.Net Core Web API project to an Ubuntu 20.04 server. I am a beginner developer, used this manual
Here is my /etc/apache2/sites-available/api.conf :
<VirtualHost *:*>
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
</VirtualHost>
<VirtualHost *:80>
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:5000/ retry=0
ProxyPassReverse / http://127.0.0.1:5000/
ServerName 80.249.146.56
ServerAlias www.80.249.146.56
ErrorLog ${APACHE_LOG_DIR}api-error.log
CustomLog ${APACHE_LOG_DIR}api-access.log common
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Does the error mean that there is nothing on 127.0.0.1:5000
netstat -ltpnd
that says anything?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question