// Module included in the following assemblies:
//
// * microshift_networking/microshift-networking.adoc

:_mod-docs-content-type: PROCEDURE
[id="microshift-rpm-ostree-https_{context}"]
= Using the RPM-OStree HTTP or HTTPS proxy

To use the HTTP or HTTPS proxy in RPM-OStree, you must add a `Service` section to the configuration file and set the `http_proxy environment` variable for the `rpm-ostreed` service.

.Procedure

. Add this setting to the `/etc/systemd/system/rpm-ostreed.service.d/00-proxy.conf` file:
+
[source,terminal]
----
[Service]
Environment="http_proxy=http://$PROXY_USER:$PROXY_PASSWORD@$PROXY_SERVER:$PROXY_PORT/"
----

. Next, reload the configuration settings and restart the service to apply your changes.
+
.. Reload the configuration settings by running the following command:
+
[source,terminal]
----
$ sudo systemctl daemon-reload
----
+
.. Restart the `rpm-ostreed` service by running the following command:
+
[source,terminal]
----
$ sudo systemctl restart rpm-ostreed.service
----
//Q: Instructions for how to test that the proxy works by booting the image, verifying that MicroShift starts, and that the application is accessible?
