Updating to new server configuration. Test 1

This commit is contained in:
2024-04-28 22:47:52 +01:00
parent 4d2770d003
commit 35804fb276
11 changed files with 16583 additions and 5948 deletions

13
passenger_wsgi.py Normal file
View File

@@ -0,0 +1,13 @@
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
def application(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
message = 'It works!\n'
version = 'Python %s\n' % sys.version.split()[0]
response = '\n'.join([message, version])
return [response.encode()]