My feedback

  1. 965 votes
    Sign in
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    124 comments  ·  Feature Suggestions » Web Applications  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Julien commented  · 

    @bruno, happy that it is helpfull for you :)

    I don't understand why you have to touch an index.html file as the redirect should work for anything if the application handle it. (maybe something to do with nginx serving static file ?)

    I tested with the default web application (MVC .net core) from visual studio, hitting URL/Home work as excepted.

    Anyway, I'm not anymore a plesk user because of scaling needs. but I hope they integrate that great technology asap.


    An error occurred while saving the comment
    Julien commented  · 

    .net core on linux, dev need it, gogogo ! :)

    Actually it work aside plesk (centos7), following in order :

    In your website Apache & nginx Settings, disable Proxy mode, Apply,
    Add to "Additional nginx directives" this one (2nd link) :

    location / {
    proxy_pass http://localhost:5000;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection keep-alive;
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;

    Change those lines in "kestrel-hellomvc.service" while you follow the 2nd link :
    ExecStart=/usr/bin/dotnet /var/www/vhosts/<your_site>/httpdocs/<your_app>.dll

    Upload the published output to httpdocs.

    I had a little problem getting this to work "correctly", because of nginx or apache, I dunno, but unticking "Serve static files directly by nginx ", apply, and re-ticking did the job.



Feedback and Knowledge Base