• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

directives

  1. J

    Resolved domain with storage in sub-folder of another domain

    Hello All I would like to have storage as detailed below for some of my domains: example1.com IN /var/www/vhosts/example1.com/httpdocs/ example2.com IN /var/www/vhosts/example1.com/httpdocs/example2/ On other servers (possibly more basic than plesk) i have used, this was done in "Apache...
  2. N

    Issue nginx directives being ignored

    Hi, We've recently updated to version 18.0.25 and for one domain have turned off 'Proxy Mode' so the site is being served by nginx but it seems to be ignoring all additional directives we add. We've tried this on another Plesk server running 18.0.24 which seems to work and can't figure why it's...
  3. T

    Question Can't set server directive in additional nginx config

    I have a domain setup in plesk running a reverse proxy nginx server. In the "Additional nginx-directives" textfield I writing the following: server { server_name subdomain.mydomain.com; location / { proxy_pass http://mydomain:port; } } But I get following...
  4. chapterjason

    Question Plesk XML API to change nginx directives

    Hey, I currently working on a PAAS for NodeJS and PHP Applications that run in Docker. Currently im stuck a bit while try to create the proxy_pass in nginx, I already modified my vhost template that the proxy_pass in the Additional directives will take place. But I don't know how to set this...
  5. A

    Question Set Additional nginx directives from command line

    I need to programmatically set nginx additional directive from command line (command line utilities or bash). Watching at documentation I can't figure out how to achieve my goal. For example for php settings is possible to pass a file containing additional setting, but I can't find a similar...
  6. Miguel Nunes

    Question Detecting webspace in nginx directive

    Is it possible to detect the current directive when using custom nginx directives in Plesk? This is what I'm trying to do: error_page 400 401 403 404 405 406 407 412 414 415 500 501 502 /custom_error_$status.html; location ~ ^/custom_error_[0-9]+.html$ { root...
  7. S

    Question Batch "Additional directives for http & https"

    We have dozens of subdomains for what we like to add/change additional directives for http and https. For just a few it's ok to do it in the UI. But is there a way for mass changes, e.g. via ssh or the psa database? Also or as an alternative it would be great if we could group domains where...
  8. RJBRJB

    Resolved Additional nginx directives outside server scope.

    Plesk 12.5 Centos 7 nginx php-fpm Hello, I need to add a map directive to one of my vhosts, specifically the type of block below: map $http_host $blogid { default -999; include /pathto/map.conf ; } I need to know where to add this since it needs to be outside the server scope...
Back
Top