Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Web proxy configuration for the ITA web client or Tenant Portal

For DCIM developers

EcoStruxure IT Advisor integrations for the advanced user

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT Help Center
  • EcoStruxure IT Help Center Categories
  • IT Advisor
  • For DCIM developers
  • For DCIM developers
  • Web proxy configuration for the ITA web client or Tenant Portal
Options
  • Subscribe to RSS Feed
  • Mark as New
  • Mark as Read
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • EcoStruxure IT forum

  • APC UPS Data Center & Enterprise Solutions Forum

Previous Next

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite

EcoStruxure IT Support

Submit a support request for additional assistance with EcoStruxure IT software.

Request Support
Back to For DCIM developers
Options
  • Subscribe to RSS Feed
  • Mark as New
  • Mark as Read
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
0 Likes
1900 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

Web proxy configuration for the ITA web client or Tenant Portal

Picard EcoStruxureIT
‎2020-03-18 09:13 PM

If you want to make the ITA web client or Tenant Portal available to your colleagues or customers directly from the Internet, ensure you have a proxy configuration in the DMZ.

Note

The DMZ setup protecting ITA against direct Internet access is entirely your own responsibility!

However, here are some recommendations on what you should set up and how to do this.

This is not a complete newbie guide to setting up a proxy server. You should already have a working knowledge about scripting, web proxy and DMZ configuration, or find it easy to acquire this knowledge.

#!/bin/sh

##############################################################################
# This file provides an example of how to set up Nginx on a systemd based OS like CentOS.
##############################################################################

# The address ITA is already listening to.
export ITA_ADDRESS=192.168.56.200

# The address Ngnix should be set up to listen on. This should be a domain. www.example.com
export NGINX_ADDRESS=www.example.com

echo "The ITA server(s) is/are expected to listen on ITA_ADDRESS=$ITA_ADDRESS"
echo "The nginx server will be configured to listen on NGINX_ADDRESS=$NGINX_ADDRESS"

# Create self-signed cert (to demo https in Nginx)
export PATH_TO_PRIVATE_KEY_FILE="/etc/nginx/$NGINX_ADDRESS.key"
export PATH_TO_CERTIFICATE_FILE="/etc/nginx/$NGINX_ADDRESS.crt"
openssl req -x509 -nodes -sha256 -days 4383 -subj /CN=$NGINX_ADDRESS -newkey rsa:2048 -keyout $PATH_TO_PRIVATE_KEY_FILE -out $PATH_TO_CERTIFICATE_FILE

# For production the self-signed cert should be replaced by a signed certificate
chown nginx:nginx $PATH_TO_PRIVATE_KEY_FILE
chown nginx:nginx $PATH_TO_CERTIFICATE_FILE
echo "Created selfsigned private key ($PATH_TO_PRIVATE_KEY_FILE) and certificate ($PATH_TO_CERTIFICATE_FILE) and made nginx owner of these files"

# Replace main config file of nginx
cat > /etc/nginx/nginx.conf <<EOF
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/

user nginx;
worker_processes auto;

error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

events {
worker_connections 1024;
}

http {
log_format main '\$remote_addr - \$remote_user [\$time_local] "\$request" '
'\$status \$body_bytes_sent "\$http_referer" '
'"\$http_user_agent" "\$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;

sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;

include /etc/nginx/mime.types;
default_type application/octet-stream;

# See http://nginx.org/en/docs/ngx_core_module.html#include
# for more information.
include /etc/nginx/conf.d/*.conf;

# Redirect browsers from http to https
server {

listen 80;
rewrite ^(.*) https://$host$1 permanent;

}

# Set up the proxy to ITA:
server {
listen 443 ssl;
server_name $NGINX_ADDRESS;
ssl_certificate $PATH_TO_CERTIFICATE_FILE;
ssl_certificate_key $PATH_TO_PRIVATE_KEY_FILE;

#First handle requests to the actual application path /web
location /web/ {
proxy_pass http://$ITA_ADDRESS;
}

#Handle root requests, and forward to /web (The order matters. The location /web needs to be specified before location /)
location / {
proxy_pass http://$ITA_ADDRESS/web/;
}
}
}
EOF
# Make the Nginx user own the config file (nginx user is specified in /etc/nginx/nginx.conf)
chown nginx:nginx /etc/nginx/nginx.conf
echo "Replaced nginx main config file /etc/nginx/nginx.conf and made nginx owner of the file"

# Make sure Nginx starts on boot.
# More info on systemd: https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and...
systemctl enable nginx
echo "nginx registered as service that starts on boot (not yet started in current session)"

# Start nginx in the current session ('systemctl enable nginx' above just makes sure nginx will be started on future boots).
systemctl start nginx
echo "Started nginx in the current session, note interesting paths:"
echo "- for errors see /var/log/nginx/error.log"
echo "- for config see /etc/nginx/nginx.conf"
echo ""
echo "Serving the Tenant Portal at: $NGINX_ADDRESS"

# Other notes:
# - keep an eye on security warnings and patch OS and Nginx as needed
# - proactively keep an eye on suspicious / unusual behavior
# - setup logging
# systemctl start|stop|restart|reload|reload-or-restart|status|is-active|is-enabled|is-failed nginx
#
# if service does not support reload (of config), then use reload-or-restart
#
# List current services:
# systemctl list-units
#
# Default global nginx config file at: /etc/nginx/nginx.conf
# Defines error log locations, e.g.:
# - /var/log/nginx/error.log
# - /var/log/nginx/access.log
#
# PID is written to: /var/run/nginx.pid
# List nginx processes: ps -ax | grep nginx

 

Was this article helpful? Yes No
No ratings

Link copied. Please paste this link to share this article on your social media post.

Didn't find what you are looking for? Ask our Experts
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of