Skip to content

Commit

Permalink
RHEL9 configs updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
riclolsen committed May 18, 2024
2 parents 906bd5f + 91c079c commit c7283c9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 5 additions & 0 deletions platform-rhel9/json-scada-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,13 @@ sudo dnf -y install grafana
sudo cp grafana.ini /etc/grafana
sudo systemctl enable grafana-server

<<<<<<< HEAD
mkdir ../metabase
wget https://downloads.metabase.com/v0.49.10/metabase.jar -O ../metabase/metabase.jar
=======
mkdir ~/metabase
wget https://downloads.metabase.com/v0.49.10/metabase.jar -O ~/metabase/metabase.jar
>>>>>>> 91c079cc16d8f300fb2726fc124ba14b0b9e0bee

# install nvm to be able to choose a specific nodejs version
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
Expand Down
8 changes: 1 addition & 7 deletions platform-rhel9/json_scada_http.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
keepalive 15;
}

# FastCGI server listening on port 9000
upstream phpbackend {
server 127.0.0.1:9000;
keepalive 15;
}

server {
listen 80;
server_name localhost;
Expand Down Expand Up @@ -104,7 +98,7 @@
location ~ .php$ {
include ../platform-windows/nginx_php-runtime/conf/fastcgi_params;
root "c:/json-scada/src/htdocs/";
fastcgi_pass phpbackend;
fastcgi_pass php-fpm;
fastcgi_keep_conn on;
fastcgi_index index.php;
fastcgi_read_timeout 10s;
Expand Down
2 changes: 1 addition & 1 deletion platform-rhel9/json_scada_https.conf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
# location ~ .php$ {
# include fastcgi.conf;
# root "/home/jsonscada/json-scada/src/htdocs/";
# fastcgi_pass phpbackend;
# fastcgi_pass php-fpm;
# fastcgi_keep_conn on;
# fastcgi_index index.php;
# fastcgi_read_timeout 10s;
Expand Down

0 comments on commit c7283c9

Please sign in to comment.