Beiträge von Maho
-
-
-
-
-
-
Dein Akku ist halb Leer.
Nope iPhone 11 Pro Power reicht noch bis morgen mittag.
-
Was bruder?
Was soll ich sagen bruder?
Hab einfach whois aufgerufen was für reversen weiß nicht mal was das ist.5A4B9962-DBA3-48F1-8685-0207329829DB.jpeg
-
-
-
-
-
Du
Freundchen was soll das hast alles zerstört. Satrox Ddos ihn
-
AiW = Liebe weis nicht was du gegen AiW hast. Ich hab was gegen die Leute die immer nur Scripts nehmen und dann 5 Minuten später fragen wie man eine Datenbank installiert aber vom Rest keine Ahnung haben.
oke cool aber wer hat gefragt?
Kann es sein du du 670 bist aber auf Wish bestellt? -
-
-
Also das mit iTunes Probleme habe ich nur auf Windoof.
Wenn du ein Mac hast läuft es einwandfrei.
-
//edit habe mir jetzt einen Server ohne Plesk geholt.
Jetzt ist das problem, dass ich die Domain.de:5000 nicht aufrufen kann obwohl die anwendung läuft.
* Serving Flask app "__init__" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
CodeStatus: active To Action From -- ------ ---- Apache Full ALLOW Anywhere 5000 ALLOW Anywhere Apache Full (v6) ALLOW Anywhere (v6) 5000 (v6) ALLOW Anywhere (v6)
//edit Ja gut bisschen denken muss man auch
Lösung: app.run(host="::", port=5000, debug=True)
-
Es läuft über plesk wie mach ich das am besten dann?
Code: nginx.conf
Alles anzeigen#ATTENTION! # #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY, #SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED. server { listen 81.169.141.79:443 ssl; server_name shop.itsmaho.de; server_name www.shop.itsmaho.de; server_name ipv4.shop.itsmaho.de; ssl_certificate /opt/psa/var/certificates/scfYTMr5e; ssl_certificate_key /opt/psa/var/certificates/scfYTMr5e; client_max_body_size 128m; root "/var/www/vhosts/itsmaho.de/shop.itsmaho.de"; access_log "/var/www/vhosts/system/shop.itsmaho.de/logs/proxy_access_ssl_log"; error_log "/var/www/vhosts/system/shop.itsmaho.de/logs/proxy_error_log"; #extension letsencrypt begin location ^~ /.well-known/acme-challenge/ { root /var/www/vhosts/default/htdocs; types { } default_type text/plain; satisfy any; auth_basic off; allow all; location ~ ^/\.well-known/acme-challenge.*/\. { deny all; } } #extension letsencrypt end location / { proxy_pass https://81.169.141.79:7081; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Accel-Internal /internal-nginx-static-location; access_log off; } location /internal-nginx-static-location/ { alias /var/www/vhosts/itsmaho.de/shop.itsmaho.de/; internal; } add_header X-Powered-By PleskLin; } server { listen 81.169.141.79:80; server_name shop.itsmaho.de; server_name www.shop.itsmaho.de; server_name ipv4.shop.itsmaho.de; client_max_body_size 128m; location / { return 301 https://$host$request_uri; } }
Apache Configuration: httpd.conf
Alles anzeigen#ATTENTION! # #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY, #SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED. #IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES: #/var/www/vhosts/system/shop.itsmaho.de/conf/vhost.conf #/var/www/vhosts/system/shop.itsmaho.de/conf/vhost_ssl.conf <IfModule mod_ssl.c> <VirtualHost 81.169.141.79:7081 > ServerName "shop.itsmaho.de" ServerAlias "www.shop.itsmaho.de" ServerAlias "ipv4.shop.itsmaho.de" UseCanonicalName Off DocumentRoot "/var/www/vhosts/itsmaho.de/shop.itsmaho.de" CustomLog /var/www/vhosts/system/shop.itsmaho.de/logs/access_ssl_log plesklog ErrorLog "/var/www/vhosts/system/shop.itsmaho.de/logs/error_log" <IfModule mod_suexec.c> SuexecUserGroup "itsmaho" "psacln" </IfModule> <IfModule mod_userdir.c> UserDir "/var/www/vhosts/itsmaho.de/web_users/*" </IfModule> <IfModule mod_sysenv.c> SetSysEnv PP_VHOST_ID "f8b89d25-7b69-4efa-a314-fd9e4bd7d677" </IfModule> SSLEngine on SSLVerifyClient none SSLCertificateFile /opt/psa/var/certificates/scfYTMr5e SSLCACertificateFile /opt/psa/var/certificates/scf9SNaNX <Directory /var/www/vhosts/itsmaho.de/shop.itsmaho.de> <IfModule mod_php4.c> php_admin_flag engine off </IfModule> <IfModule mod_php5.c> php_admin_flag engine off </IfModule> <IfModule mod_php7.c> php_admin_flag engine off </IfModule> SSLRequireSSL Options -Includes -ExecCGI </Directory> <Directory /var/www/vhosts/itsmaho.de> Options +FollowSymLinks </Directory> <Directory "/var/www/vhosts/system/shop.itsmaho.de/statistics"> AuthType Basic AuthName "Domainstatistiken" AuthUserFile "/var/www/vhosts/system/shop.itsmaho.de/pd/d..httpdocs@plesk-stat" require valid-user </Directory> Alias /error_docs /var/www/vhosts/itsmaho.de/error_docs ErrorDocument 400 /error_docs/bad_request.html ErrorDocument 401 /error_docs/unauthorized.html ErrorDocument 403 /error_docs/forbidden.html ErrorDocument 404 /error_docs/not_found.html ErrorDocument 500 /error_docs/internal_server_error.html ErrorDocument 405 /error_docs/method_not_allowed.html ErrorDocument 406 /error_docs/not_acceptable.html ErrorDocument 407 /error_docs/proxy_authentication_required.html ErrorDocument 412 /error_docs/precondition_failed.html ErrorDocument 414 /error_docs/request_uri_too_long.html ErrorDocument 415 /error_docs/unsupported_media_type.html ErrorDocument 501 /error_docs/not_implemented.html ErrorDocument 502 /error_docs/bad_gateway.html ErrorDocument 503 /error_docs/maintenance.html DirectoryIndex "index.html" "index.cgi" "index.pl" "index.php" "index.xhtml" "index.htm" "index.shtml" <Directory /var/www/vhosts/itsmaho.de> AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,SymLinksIfOwnerMatch,MultiViews,FollowSymLinks,ExecCGI,Includes,IncludesNOEXEC </Directory> #extension letsencrypt begin Alias /.well-known/acme-challenge "/var/www/vhosts/default/htdocs/.well-known/acme-challenge" <Location /.well-known/acme-challenge/> # Require all granted Order Deny,Allow Allow from all Satisfy any </Location> <LocationMatch "^/.well-known/acme-challenge/(.*/|)\."> # Require all denied Order Allow,Deny Deny from all </LocationMatch> #extension letsencrypt end </VirtualHost> </IfModule> <VirtualHost 81.169.141.79:7080 > ServerName "shop.itsmaho.de" ServerAlias "www.shop.itsmaho.de" ServerAlias "ipv4.shop.itsmaho.de" UseCanonicalName Off <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,QSA] </IfModule> </VirtualHost>
-
Genau ich will das es zum schluss über sub.domain.de aufrufbar ist.
Also muss ich das es funkt eine Proxy-Anfrage erstellen richtig?
Zurzeit läuft bei mir Plesk + nginx macht das was aus?.
-
ja bringt mir aber nicht viel, ich brauche die Parameter:
--workers 6
unix:test.sock
-m
007
wsgi:app